pub fn decompress(encoded: &[u8]) -> Result<AnyArray, ZlibCodecError>
Expand description
Decompress the encoded
data into an array using Zlib.
ยงErrors
Errors with
ZlibCodecError::HeaderDecodeFailed
if decoding the header failedZlibCodecError::DecodeExcessiveEncodedData
if the encoded data contains excessive trailing data junkZlibCodecError::DecodeProducedLess
if decoding produced less data than expectedZlibCodecError::ZlibDecodeFailed
if an opaque decoding error occurred