Function varu64::decode_bytes
[−]
[src]
pub fn decode_bytes(bytes: &[u8]) -> Option<(u64, u8)>
Try to decode from a slice of bytes.
Returns the decoded u64 and how many bytes were read on success, or None
if decoding failed
because the slice was not long enough.