Skip to main content

encode_unsigned

Function encode_unsigned 

Source
pub fn encode_unsigned(data: &[u8]) -> &[u8] 
Expand description

An integer value, in little-endian variable length form.

Drops any trailing zero bytes, but always returns a value of at least one byte.