pub fn decompress_into<T: PcoElement, D: Dimension>(
encoded: &[u8],
decoded: ArrayViewMut<'_, T, D>,
) -> Result<(), PcodecError>Expand description
Decompresses the encoded data into the decoded array.
ยงErrors
Errors with
PcodecError::HeaderDecodeFailedif decoding the header failedPcodecError::MismatchedDecodeIntoArrayif the decoded array has the wrong dtype or shapePcodecError::PcoDecodeFailedif decoding failed with an opaque errorPcodecError::DecodeInvalidShapeHeaderif the array shape header does not fit the decoded data