Function vu64::decode

source ·
pub fn decode(bytes: &[u8]) -> Result<u64, Error>
Expand description

Decode a v64-encoded unsigned 64-bit integer.

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