Module encoding

Module encoding 

Source
Expand description

Compact binary encoding with versioning

This module provides efficient binary encoding/decoding for protocol messages with version support for backward/forward compatibility.

Structs§

BatchDecoder
Batch decoding utilities for efficient bulk operations
BatchEncoder
Batch encoding utilities for efficient bulk operations
BinaryDecoder
Binary decoder with versioning support
BinaryEncoder
Binary encoder with versioning support
CompressionConfig
Compression configuration
NoCompression
No-op compression (passthrough)

Constants§

BINARY_PROTOCOL_VERSION
Binary protocol version identifier
MAGIC_BYTES
Magic bytes to identify CHIE protocol messages

Traits§

BinaryDecode
Trait for types that can be decoded from binary format
BinaryEncode
Trait for types that can be encoded to binary format
CompressionAlgorithm
Compression algorithm trait for pluggable compression

Functions§

calculate_crc32
Calculate CRC32 checksum for data integrity
verify_crc32
Verify CRC32 checksum