pub fn try_split_u64(amount: u64, bit_length: usize) -> Option<(u64, u64)>Expand description
Takes in a 64-bit number amount and a bit length bit_length. It returns:
- the
bit_lengthlow bits ofamountinterpreted asu64 - the
(64 - bit_length)high bits ofamountinterpreted asu64