Skip to main content

encode_edit

Function encode_edit 

Source
pub fn encode_edit(edit: &Edit<'_>) -> Result<Vec<u8>, EncodeError>
Expand description

Encodes an Edit to binary format (uncompressed).

Uses single-pass encoding: ops are encoded to a buffer while building dictionaries, then the final output is assembled.