pub fn looks_utf16(buf: &[u8]) -> Option<IdentifiedEncoding>Expand description
Evaluates whether buf is UTF-16 text (with or without BOM, LE or BE).
pub fn looks_utf16(buf: &[u8]) -> Option<IdentifiedEncoding>Evaluates whether buf is UTF-16 text (with or without BOM, LE or BE).