fn delim_len(encoding: Encoding) -> usize {
    match encoding {
        Encoding::Latin1 | Encoding::UTF8 => 1,
        Encoding::UTF16 | Encoding::UTF16BE => 2,
    }
}
/// Returns the delimiter length for the specified encoding.
Returns the delimiter length for the specified encoding.
Returns the delimiter length for the specified encoding .
fn delim_len(encoding: Encoding) -> usize {
    match encoding {
        Encoding::Latin1 | Encoding::UTF8 => 1,
        Encoding::UTF16 | Encoding::UTF16BE => 2,
    }
}
fn delim_len ( encoding : Encoding ) -> usize { match encoding { Encoding :: Latin1 | Encoding :: UTF8 => 1 , Encoding :: UTF16 | Encoding :: UTF16BE => 2 , } }
Returns the delimiter length for the specified encoding.
Returns the delimiter length for the specified encoding .
encoding
Encoding
encoding
Encoding