Skip to main content

parse_header_block_with_limit

Function parse_header_block_with_limit 

Source
pub fn parse_header_block_with_limit(
    block: &[u8],
    limit: u64,
) -> Result<FrameHeader, FrameError>
Expand description

parse_header_block with an explicit ceiling. Tests use this to verify the bound is enforced; production paths go through the public wrapper.