Function sp_trie::nibble_ops::shift_key [−]
pub fn shift_key(key: &mut (usize, SmallVec<[u8; 36]>), 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).