Function dash7_alp::spec::v1_2::varint::encode_in

source ·
pub unsafe fn encode_in(n: u32, out: &mut [u8]) -> u8
Expand description

Encode the value into a varint.

§Safety

Only call this on u32 that are less than 0x3F_FF_FF_FF.

Calling this on a large integer will return an unpredictable result (it won’t crash).