Skip to main content

encode

Function encode 

Source
pub fn encode(btic: &Btic) -> [u8; 24]
Expand description

Encode a BTIC value into its 24-byte packed canonical form.

The packed format uses sign-bit-flipped big-endian encoding so that memcmp on the raw bytes produces the same order as Btic::cmp.