Function u64_to_u256_array

Source
pub fn u64_to_u256_array(n: u64) -> [u8; 32]
Expand description

Convert a u64 to a [u8; 32]

§Arguments

  • n - The u64 to convert

§Returns

Returns a [u8; 32] with the u64 converted to bytes