Skip to main content

decode_deltas

Function decode_deltas 

Source
pub fn decode_deltas(bytes: &[u8]) -> Result<Vec<i64>>
Expand description

Decodes a batch encoded by encode_deltas.

§Arguments

  • bytes - the encoded batch.

§Returns

The decoded samples, in order.

§Errors

Returns Error::Codec if bytes ends in the middle of a value or encodes an over-long integer.