Skip to main content

encode_canonical_command_input

Function encode_canonical_command_input 

Source
pub fn encode_canonical_command_input(
    record: &CanonicalRecord,
) -> Result<Vec<u8>, CanonicalCodecError>
Expand description

Encodes one canonical atomic-command input under its fixed V2 envelope.

Inputs that fit the legacy 1 MiB envelope produce byte-identical output to encode_canonical_record.