Function numcodecs_zstd::decompress
source · pub fn decompress(encoded: &[u8]) -> Result<AnyArray, ZstdCodecError>Expand description
Decompress the encoded data into an array using Zstandard.
§Errors
Errors with
ZstdCodecError::HeaderDecodeFailedif decoding the header failedZstdCodecError::DecodeExcessiveEncodedDataif the encoded data contains excessive trailing data junkZstdCodecError::DecodeProducedLessif decoding produced less data than expectedZstdCodecError::ZstdDecodeFailedif an opaque decoding error occurred