pub fn decompress(encoded: &[u8]) -> Result<AnyArray, SperrCodecError>
Expand description
Decompress the encoded
data into an array using SPERR.
ยงErrors
Errors with
SperrCodecError::HeaderDecodeFailed
if decoding the header failedSperrCodecError::SliceDecodeFailed
if decoding a slice failedSperrCodecError::SperrDecodeFailed
if decoding with SPERR failedSperrCodecError::DecodeInvalidShape
if the encoded data decodes to an unexpected shapeSperrCodecError::DecodeTooManySlices
if the encoded data contains too many slices