Function sp_trie::nibble_ops::shift_key
source · pub fn shift_key(key: &mut (usize, SmallVec<[u8; 40]>), offset: usize) -> bool
Expand description
Shifts right aligned key to add a given left offset. Resulting in possibly padding at both left and right (example usage when combining two keys).