pub fn encode(record: &Record, out: &mut Vec<u8>)
Appends record to out.
record
out
When a body or a text is longer than u32::MAX bytes.
u32::MAX