[][src]Function vint64::decode

pub fn decode(input: &mut &[u8]) -> Result<u64, Error>

Decode a vint64-encoded unsigned 64-bit integer.

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