Function grin_store::u64_to_key
source · pub fn u64_to_key(prefix: u8, val: u64) -> Vec<u8> ⓘ
Expand description
Build a db key from a prefix and a numeric identifier.
pub fn u64_to_key(prefix: u8, val: u64) -> Vec<u8> ⓘ
Build a db key from a prefix and a numeric identifier.