Function solana_zk_token_sdk::instruction::split_u64
source · [−]Expand description
Takes in a 64-bit number amount
and a bit length bit_length
. It returns:
- the
bit_length
low bits ofamount
interpretted as u64 - the (64 -
bit_length
) high bits ofamount
interpretted as u64