TlsRecord.parse
Reads a TLS record from raw bytes.
Parameters
data | Raw bytes containing at least one complete record. |
consumed | Set to the number of bytes consumed. |
Returns
The parsed record, or TlsRecord.init if incomplete.
Reads a TLS record from raw bytes.
data | Raw bytes containing at least one complete record. |
consumed | Set to the number of bytes consumed. |