Skip to main content

runtime_payload_length

Function runtime_payload_length 

Source
pub fn runtime_payload_length(header: &[u8]) -> Result<usize, RuntimeFrameError>
Expand description

Check the fixed header BEFORE allocating/reading the declared ciphertext.