decode_utf32

Function decode_utf32 

Source
fn decode_utf32(
    body: &[u8],
    big_endian: bool,
    bom: &'static str,
    label: &'static str,
) -> DecodedFile
Expand description

Decode UTF-32 (LE/BE) bytes by hand — encoding_rs has no UTF-32 codec.