Skip to main content

decode_record

Function decode_record 

Source
pub fn decode_record(record: &[u8]) -> Result<DecodedRecord<'_>>
Expand description

Validates and decodes one complete semantic record envelope.

The payload occupies the remainder of the reassembled record. Its derived length remains part of the digest input, binding the exact payload extent.