[][src]Function ethereum_keystore::to_bytes

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 vector
  • len - size of value