[][src]Function kvds::decode

pub fn decode(slice: Vec<u8>) -> Result<Vec<(u8, Vec<u8>)>, DecodeError>

Decodes a Vec of data into a Vec of key-value pairs.

Note: This function cannot decode values that are more than 1.845*10^19 (or 256^8, or 2^64) bytes (or 18,447 petabytes) long.