[][src]Module holochain_core_types::bits_n_pieces

Constants

U16_MAX
U32_MAX

Functions

u32_high_bits

returns the u16 high bits from a u32

u32_low_bits

returns the u16 low bits from a u32 by doing a lossy cast

u32_split_bits

splits the high and low bits of u32 into a tuple of u16, for destructuring convenience

u32_merge_bits

merges 2x u16 into a single u32

u64_high_bits
u64_low_bits
u64_split_bits
u64_merge_bits