pub fn encode_batch_body(records: &[&[u8]]) -> Vec<u8> ⓘExpand description
Encodes a PushBatch body: version, count, then length-prefixed records.
Encoding does not enforce the caps — decode_batch_body does, and the
conformance suite needs to build deliberately-oversized bodies to check that
the rejection happens.