Skip to main content

is_binary

Function is_binary 

Source
pub fn is_binary(data: &[u8]) -> bool
Expand description

Returns true if the data looks binary (contains NUL bytes in the first 8000 bytes).