pub unsafe fn as_utf16_unchecked(slice: &[u16]) -> impl EncodedText + use<'_>
Treat a &[u16] as UTF16 encoded text.
&[u16]
The slice may not represent a UTF16 encoded string.