pub fn parse_tls_record_with_header<'i>(
i: &'i [u8],
hdr: &TlsRecordHeader,
) -> IResult<&'i [u8], Vec<TlsMessage<'i>>>
Expand description
Given data and a TLS record header, parse content.
A record can contain multiple messages (with the same type).
Note that message length is checked (not required for parser safety, but for strict protocol conformance).