Function tls_parser::parse_tls_raw_record[][src]

pub fn parse_tls_raw_record(i: &[u8]) -> IResult<&[u8], TlsRawRecord<'_>>
Expand description

Read TLS record envelope, but do not decode data

This function is used to get the record type, and to make sure the record is complete (not fragmented). After calling this function, use parse_tls_record_with_header to parse content.