Expand description
For crate-level documentation, see either https://crates.io/crates/q_compress or https://github.com/mwlon/pcodec/tree/main/quantile-compression/q_compress.
Re-exports§
pub use standalone::Compressor;
pub use standalone::DecompressedItem;
pub use standalone::Decompressor;
Modules§
Structs§
- Chunk
Metadata - The metadata of a Quantile-compressed chunk.
- Compressor
Config - All configurations available for a compressor.
- Decompressor
Config - All configurations available for a Decompressor.
- Flags
- The configuration stored in a Quantile-compressed header.
- Prefix
- A pairing of a Huffman code with a numerical range.
Enums§
- Prefix
Metadata - A wrapper for prefixes in the two cases cases: delta encoded or not.
Constants§
Functions§
- auto_
compress - Automatically makes an educated guess for the best compression
configuration, based on
nums
andcompression_level
, then compresses the numbers to .qco bytes. - auto_
compressor_ config - Automatically makes an educated guess for the best compression
configuration, based on
nums
andcompression_level
. - auto_
decompress - Automatically makes an educated guess for the best decompression configuration, then decompresses .qco bytes into numbers.