pub const fn encode_base(base: u8) -> Result<u8, EncodingError>Expand description
Encode a single DNA nucleotide to 2 bits
Uses the SSHash custom encoding by default: A -> 00, C -> 01, G -> 11, T -> 10
pub const fn encode_base(base: u8) -> Result<u8, EncodingError>Encode a single DNA nucleotide to 2 bits
Uses the SSHash custom encoding by default: A -> 00, C -> 01, G -> 11, T -> 10