pub fn decode_prefix(bytes: &[u8]) -> Result<(Vec<i64>, usize)>Expand description
Decodes a chunk that sits at the front of a longer buffer, and says how many bytes it took.
A string column holds integer chunks inside its own body, and the reader on that side cannot
know where the nested chunk ends until it has been read. A chunk is self delimiting, so this is
the same work decode does without the check that nothing follows.
ยงErrors
As decode, except that trailing bytes are what the caller asked about rather than an error.