Function split_offset
Source pub fn split_offset(bit_offset: usize) -> (usize, usize)
Expand description
Splits a bit offset into an index in an array of u64 and an offset within the integer.
ยงExamples
use simple_sds_sbwt::bits;
assert_eq!(bits::split_offset(123), (1, 59));