Expand description
Mapping of data types.
This module provides functions solely for mapping data types into others, mostly similar ones.
#[no_std] compatible.
Functionsยง
- combine_
low_ high_ bits_ to_ u128 - Combine 2 64-bit values into a single
u128value. - ipv4_
from_ u32 - Convert an
Ipv4Addrto au32. - split_
u128_ into_ low_ high_ bits - Split a
u128value into 2 64-bit values. - timelock_
to_ u64 - Map
Timelockto au64. - u32_
from_ ipv4 - Convert a
u32to anIpv4Addr. - u64_
to_ timelock - Map a
u64to aTimelock.