pub fn on_key(top: impl AsRef<[u8]>, on: u64, sep: Option<[u8; 1]>) -> Vec<u8> ⓘExpand description
Returns key formed by joining top key and hex str conversion of int ordinal number on with sep character.
§Parameters
top- top key prefix to be joined with hex version of on using sepon- ordinal number to be converted to 32 hex bytessep- separator character for join (default is b’.’)
§Returns
Vec<u8>- key formed by joining top key and hex str conversion ofon