[][src]Function cdrs_tokio::types::to_n_bytes

pub fn to_n_bytes(int: u64, n: usize) -> Vec<u8>

Converts u64 numerical value into array of n bytes

Panics

It panics if given unisigned integer could not be converted in an array of n bytes