Skip to main content

cap_bytes

Function cap_bytes 

Source
pub fn cap_bytes(records: &mut Vec<Record>) -> bool
Expand description

Cuts a batch to the byte cap (a first record always stays): whether anything was cut.