Expand description
Utility functions
Functions§
- find_
lcp_ full_ offset - When using a seed mask, the LCP stored on disk is the number of “care” positions held in common, but the actual LCP between two strings should include any “don’t-care” positions up to the next “care” position.
- read_
sequence_ file - Read sequence data from file
- read_
text_ length - Find length of the input text from a .sufr
file to determine the
Inttype,u32oru64 - slice_
u8_ to_ vec - Convert a slice of raw U8 read from disk into a
Vec<T>(whereTis theInt32/64) - usize_
to_ bytes - Turn a
usizeinto a vector ofu8for serializing to disk. - vec_
to_ slice_ u8 - Convert a
Vec<T>(whereTis theInt32/64) into a slice of raw U8 for serializing to disk