Skip to main content

encode

Function encode 

Source
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.