pub fn encode(value: u32, out: &mut [u8]) -> Result<usize, Error>
Encode value into out, returning the number of bytes written.
value
out