Module byte_storage

Module byte_storage 

Source
Expand description

LZ4 compression and xxHash3 checksums for raw byte storage.

Provides integrity-protected byte storage with security validation:

  • 512MB size limits for decompression bomb protection
  • 1000x max compression ratio enforcement
  • xxHash3-64 checksums for corruption detection (19x faster than Blake3)

Structs§

ByteStorage
Raw byte storage engine (pure Rust core) Simple store/retrieve interface with no type awareness
StorageEnvelope
Storage envelope for raw byte storage Contains compressed data with integrity checking

Enums§

ByteStorageError
Error types for ByteStorage operations