Crate tamp

Crate tamp 

Source
Expand description

Rust bindings for the tamp compression library.

Provides safe, heapless streaming compression and decompression using const generics for compile-time buffer allocation. Designed for embedded systems without heap allocation.

Structs§

Compressor
Streaming compressor with heapless window buffer.
Config
Configuration for tamp compression/decompression.
Decompressor
Streaming decompressor with heapless window buffer.

Enums§

Error
Errors that can occur during compression or decompression.

Type Aliases§

Compressor1K
Compressor with 1KB window (10-bit window). Default and recommended for most uses.
Compressor2K
Compressor with 2KB window (11-bit window). Better compression for larger data.
Compressor4K
Compressor with 4KB window (12-bit window). Best compression but high memory usage.
Compressor256
Compressor with 256-byte window (8-bit window). Minimal memory usage.
Compressor512
Compressor with 512-byte window (9-bit window). Low memory usage.
Decompressor1K
Decompressor with 1KB window (10-bit window). Default and recommended for most uses.
Decompressor2K
Decompressor with 2KB window (11-bit window). Better compression for larger data.
Decompressor4K
Decompressor with 4KB window (12-bit window). Best compression but high memory usage.
Decompressor256
Decompressor with 256-byte window (8-bit window). Minimal memory usage.
Decompressor512
Decompressor with 512-byte window (9-bit window). Low memory usage.