Skip to main content

encode_string

Function encode_string 

Source
pub fn encode_string(s: &str) -> Result<Vec<u8>, EncodingError>
Expand description

Encode a DNA string to a bit-packed representation

ยงErrors

Returns an error if the string contains invalid bases