Skip to main content

decode_uint32

Function decode_uint32 

Source
pub fn decode_uint32(buf: &mut impl Buf) -> Result<u32, DecodeError>
Expand description

Decode a uint32 value from a varint.

The low 32 bits of the decoded varint are returned; upper bits are truncated.