Module edit

Module edit 

Source
Expand description

Edit encoding/decoding for GRC-20 binary format.

Implements the wire format for edits (spec Section 6.3).

Structs§

EncodeOptions
Options for encoding edits.

Functions§

decode_edit
Decodes an Edit from binary data with zero-copy borrowing.
decompress
Decompresses a GRC2Z compressed edit, returning the uncompressed bytes.
encode_edit
Encodes an Edit to binary format (uncompressed).
encode_edit_compressed
Encodes an Edit to binary format with zstd compression.
encode_edit_compressed_with_options
Encodes an Edit to binary format with zstd compression and options.
encode_edit_profiled
Encodes an Edit with profiling output (two-pass for comparison).
encode_edit_with_options
Encodes an Edit to binary format with the given options.