Skip to main content

extract_ascii

Function extract_ascii 

Source
pub fn extract_ascii(bytes: &[u8], min_len: usize) -> Vec<String>
Expand description

Extract ASCII strings of at least min_len consecutive printable chars from bytes.

“Printable” means bytes 0x20 – 0x7E (space through tilde), matching the behaviour of the classic strings(1) utility.