[−][src]Function encoding_rs::mem::ensure_utf16_validity
pub fn ensure_utf16_validity(buffer: &mut [u16])
Replaces unpaired surrogates in the input with the REPLACEMENT CHARACTER.
pub fn ensure_utf16_validity(buffer: &mut [u16])
Replaces unpaired surrogates in the input with the REPLACEMENT CHARACTER.