Skip to main content

looks_binary

Function looks_binary 

Source
pub fn looks_binary(bytes: &[u8]) -> bool
Expand description

NUL bytes mark binary data — except in UTF-16, where they are half the text.