pub fn encode_self_described_batch(batch: &EncodedBatch) -> Result<Bytes>
Encode a self-described v2.2 batch.