Crate numcodecs_pco

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Pcodec implementation for the numcodecs API.

Structs§

PcoCodingError
Opaque error for when encoding or decoding with pco fails
PcoHeaderError
Opaque error for when encoding or decoding the header fails
Pcodec
Codec providing compression using pco

Enums§

PcoCompressionLevel
Pco compression level.
PcoDType
Dtypes that pco can compress and decompress
PcoDeltaEncodingOrder
Pco delta encoding order.
PcoDeltaSpec
Pco delta encoding
PcoModeSpec
Pco compression mode
PcoPagingSpec
Pco paging mode
PcodecError
Errors that may occur when applying the Pcodec.

Traits§

PcoElement
Array element types which can be compressed with pco.

Functions§

compress
Compresses the input data array using pco with the given compression level, mode, delta encoding, and paging mode.
decompress
Decompresses the encoded data into an array.
decompress_into
Decompresses the encoded data into the decoded array.