Skip to main content

decode_batch

Function decode_batch 

Source
pub fn decode_batch<T: DeserializeOwned>(
    bytes: &[u8],
) -> Result<Vec<T>, WireError>
Expand description

The messages of a batch, read once into the receiver’s memory.

§Errors

The bytes are no batch of this version, or are over MAX_BATCH_BYTES.