pub fn append_framed_record( out: &mut Vec<u8>, record: &TxRecord, ) -> Result<(), LogError>
Appends one length-prefixed encoded record to out.
out
Returns an error if the record payload length is not representable.