pub fn decompress_into_2d<T: Element>(
compressed: &[u8],
decompressed: ArrayViewMut2<'_, T>,
) -> Result<(), Error>
Expand description
Decompress a 2d SPERR-compressed compressed
buffer into the decompressed
array.
ยงErrors
Errors with
Error::DecompressMissingHeader
if thecompressed
buffer does not start with the 10 byte SPERR headerError::DecompressShapeMismatch
if thedecompressed
array is of a different shape than the header indicatesError::Other
if another error occurs inside SPERR