pub fn decompress(encoded: &[u8]) -> Result<AnyArray, ZstdCodecError>
Expand description
Decompress the encoded
data into an array using Zstandard.
ยงErrors
Errors with
ZstdCodecError::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