Function weave_2d

Source
pub fn weave_2d(a: u16, b: u16) -> u32
Expand description

Interweave two 16-bit numbers into a 32-bit number. In theory two small numbers can end up varint encoded to use less space.