Skip to main content

Module encoder

Module encoder 

Source
Expand description

Encoder for the Crous binary format.

Encodes Value instances into the canonical Crous binary representation. The encoder handles:

  • File header emission
  • Block framing with checksums
  • Wire-type-tagged field encoding
  • Varint/ZigZag integer encoding
  • Length-delimited strings and bytes

Structsยง

Encoder
Encoder that serializes Values into Crous binary format.