Skip to main content

encode_batch

Function encode_batch 

Source
pub fn encode_batch<T: Serialize>(messages: &[T]) -> Result<Vec<u8>, WireError>
Expand description

One frame’s messages as the bytes a transport carries.

§Errors

The messages encode to more than MAX_BATCH_BYTES.