Crate numcodecs_sperr

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

SPERR codec implementation for the numcodecs API.

Structs§

Positive
Positive floating point number
SperrCodec
Codec providing compression using SPERR.
SperrCodingError
Opaque error for when encoding or decoding with SPERR fails
SperrHeaderError
Opaque error for when encoding or decoding the header fails
SperrSliceError
Opaque error for when encoding or decoding a slice fails

Enums§

SperrCodecError
Errors that may occur when applying the SperrCodec.
SperrCompressionMode
SPERR compression mode
SperrDType
Dtypes that SPERR can compress and decompress

Traits§

SperrElement
Array element types which can be compressed with SPERR.

Functions§

compress
Compress the data array using SPERR with the provided mode.
decompress
Decompress the encoded data into an array using SPERR.