Skip to main content

decode_batch

Function decode_batch 

Source
pub fn decode_batch(
    raw: &[u8],
) -> Result<Vec<(String, Vec<u8>)>, CheckpointStoreError>
Expand description

Decode a batch payload into (key, data) pairs.

ยงErrors

Returns CheckpointStoreError::Io if the batch is malformed.