Skip to main content

zigzag_encode32

Function zigzag_encode32 

Source
pub const fn zigzag_encode32(value: i32) -> u32
Expand description

Encodes a 32-bit signed integer to a 32-bit unsigned integer using the zigzag encoding.