Skip to main content

runtime_payload_length_in

Function runtime_payload_length_in 

Source
pub fn runtime_payload_length_in(
    header: &[u8],
    direction: RuntimeFrameDirection,
    profile: RuntimeExchangeProfile,
) -> Result<usize, RuntimeFrameError>
Expand description

runtime_payload_length for a frame of direction under a locally admitted profile. The profile is the receiver’s own; the header only states a length, which is refused here when it exceeds that profile.