Skip to main content

append_framed_record

Function append_framed_record 

Source
pub fn append_framed_record(
    out: &mut Vec<u8>,
    record: &TxRecord,
) -> Result<(), LogError>
Expand description

Appends one length-prefixed encoded record to out.

ยงErrors

Returns an error if the record payload length is not representable.