Function tls_parser::parse_tls_record_header [−][src]
pub fn parse_tls_record_header(i: &[u8]) -> IResult<&[u8], TlsRecordHeader>
Expand description
Read TLS record header
This function is used to get the record header.
After calling this function, caller can read the expected number of bytes and use
parse_tls_record_with_header
to parse content.