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::DecompressMissingHeaderif thecompressedbuffer does not start with the 10 byte SPERR headerError::DecompressShapeMismatchif thedecompressedarray is of a different shape than the header indicatesError::Otherif another error occurs inside SPERR