Skip to main content

parse

Function parse 

Source
pub fn parse(buf: &[u8]) -> Parsed
Expand description

Parse the start of a connection. Never asks for more than V1_MAX or V2_MAX bytes, and for version 1 only one byte at a time past the first 12, so a reader following it never consumes what comes after the header.