pub fn encode(batch: &CommitBatch) -> Vec<u8> ⓘExpand description
Encode batch.
§Panics
Never in practice: every CommitBatch field is serializable and the
output is an in-memory vector.
pub fn encode(batch: &CommitBatch) -> Vec<u8> ⓘEncode batch.
Never in practice: every CommitBatch field is serializable and the
output is an in-memory vector.