Function nucleic_acid::ibwt [] [src]

pub fn ibwt(input: &[u8]) -> Vec<u8>

Invert the BWT and generate the original data.

let text = String::from("Hello, world!");
let bw = nucleic_acid::bwt(text.as_bytes());
let ibw = nucleic_acid::ibwt(&bw);
assert_eq!(text, String::from_utf8(ibw).unwrap());