pub fn strip<T>(data: T) -> Vec<u8>where T: AsRef<[u8]>,
Strip ANSI escapes from data and return the remaining bytes as a Vec<u8>.
data
Vec<u8>
See the module documentation for an example.