Skip to main content

encode_flat_message_set

Function encode_flat_message_set 

Source
pub fn encode_flat_message_set<B: BufMut, I: IntoIterator<Item = ParsedRecord>>(
    records: I,
    magic: Magic,
    buf: &mut B,
)
Expand description

Encode a flat MessageSet of magic magic into buf.

This function writes one outer message per record. Use it to emit an uncompressed batch.