Crate rwkvzip
Source pub use rwkv7::Config;pub use rwkv7::Model;pub use rwkv7::ScratchBuffers;pub use rwkv7::State;
- coders
- Entropy coders for rwkvzip.
- rwkv7
- High-performance RWKV7 inference kernel for x86_64.
- CompressionStats
- Statistics from a compression operation.
- Compressor
- Main compressor/decompressor that combines RWKV7 inference with entropy coding.
- Header
- Header structure for compressed data files.
- CoderType
- Entropy coder type for compression.
- MAGIC
- File format magic number: “GPTZ” in little-endian (0x47505A54 as ASCII).
Used to identify valid rwkvzip compressed files.
- VERSION
- File format version. Increment on breaking changes to ensure compatibility.
- VOCAB_SIZE
- Vocabulary size for byte-level compression.
Each byte (0-255) is treated as a separate symbol.
- compress_with_stats
- Compress data and return both the compressed output and statistics.
- crc32
- Compute CRC32 checksum for data integrity verification.