Function cdrs::types::to_n_bytes [−][src]
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