Function unsigned_varint::encode::u32

source ·
pub fn u32(number: u32, buf: &mut [u8; 5]) -> &[u8] 
Expand description

Encode the given u32 into the given byte array.

Returns the slice of encoded bytes.