pub fn decompress_into(
encoded: &[u8],
decoded: AnyArrayViewMut<'_>,
) -> Result<(), ZstdCodecError>
Expand description
Decompress the encoded
data into a decoded
array using Zstandard.
ยงErrors
Errors with
ZstdCodecError::HeaderDecodeFailed
if decoding the header failedZstdCodecError::MismatchedDecodeIntoArray
if thedecoded
array is of the wrong dtype or shapeZstdCodecError::HeaderDecodeFailed
if decoding the header failedZstdCodecError::DecodeExcessiveEncodedData
if the encoded data contains excessive trailing data junkZstdCodecError::DecodeProducedLess
if decoding produced less data than expectedZstdCodecError::ZstdDecodeFailed
if an opaque decoding error occurred