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::HeaderDecodeFailed
if decoding the header failedPcodecError::MismatchedDecodeIntoArray
if the decoded array has the wrong dtype or shapePcodecError::PcoDecodeFailed
if decoding failed with an opaque errorPcodecError::DecodeInvalidShapeHeader
if the array shape header does not fit the decoded data