const BOM_SNIFF_BYTES: usize = 2;
Number of leading bytes needed to tell a UTF-16 BOM from anything else.