Skip to main content

encode_prepare_metadata

Function encode_prepare_metadata 

Source
pub fn encode_prepare_metadata(
    sender: NodeId,
    session: LinkSessionId,
    prepare: Prepare<'_>,
    metadata: &mut [u8],
    limits: WireLimits,
) -> Result<PrepareEncoding, WireError>
Expand description

Encode only PREPARE framing. Pair with the identical canonical body backing.