Function varu64::encode_bytes [] [src]

pub fn encode_bytes(int: u64, bytes: &mut [u8]) -> Option<u8>

Try to encode into a slice of bytes, returning the length of the encoding in bytes.

Returns None if the given buffer is not big enough.