Skip to main content

parse_header

Function parse_header 

Source
pub fn parse_header(
    buf: &[u8],
    start: usize,
    short_dcid_len: usize,
) -> Option<Header>
Expand description

Parses the header starting at start. short_dcid_len is the length of this endpoint’s connection IDs (short headers do not carry it).