Preview of the proposed up-rust native-frame-model branch (up-rust b6b99c6d, up-spec f0e9b17) — not released documentation. branch · write-up

Function encode_frame_metadata_fields

Source
pub fn encode_frame_metadata_fields(
    metadata: &UFrameMetadata,
) -> Result<Vec<u8>, UFrameFieldsError>
Expand description

Encodes validated frame metadata into its canonical field block bytes.

ยงErrors

Returns an error if the metadata is invalid or a value does not fit its length field. Encoding never truncates.