looks_utf16

Function looks_utf16 

Source
pub fn looks_utf16(buf: &[u8]) -> Option<IdentifiedEncoding>
Expand description

Evaluates whether buf is UTF-16 text (with or without BOM, LE or BE).