Function emerald_core::to_bytes
[−]
[src]
pub fn to_bytes(x: u64, len: u8) -> Vec<u8>
Converts unsigned
value to byte array
Arguments
x
- a value to be converted into byte vectorlen
- size of value