Function unsigned_varint::encode::u16 [−][src]
pub fn u16(number: u16, buf: &mut [u8; 3]) -> &[u8]
Encode the given u16
into the given byte array.
Returns the slice of encoded bytes.
pub fn u16(number: u16, buf: &mut [u8; 3]) -> &[u8]
Encode the given u16
into the given byte array.
Returns the slice of encoded bytes.