decode2

Function decode2 

Source
pub fn decode2(first_byte: u8, follow_bytes: &[u8]) -> Result<u64, Error>
Expand description

Decode vu64-encoded bytes to unsigned 64-bit integer.

Accepts a mutable reference to a slice containing the vu64. Upon success, the reference is updated to begin at the byte immediately after the encoded vu64.