varint_uint32_pack

Function varint_uint32_pack 

Source
pub unsafe extern "C" fn varint_uint32_pack(
    value: u32,
    output: *mut u8,
) -> usize
Expand description

Pack uint32 to varint

§Arguments

  • value - value from UINT32_MIN to UINT32_MAX
  • output - output array, need to be at least 5 bytes long

§Returns

size_t