check_bom

Function check_bom 

Source
pub fn check_bom(input: &[u8]) -> Option<&'static Encoding>
Expand description

内联 BOM 检查,避免额外的函数调用