Skip to main content

utf16_bytes

Function utf16_bytes 

Source
pub fn utf16_bytes(units: &[u16]) -> Vec<u8> ⓘ
Expand description

The same units as a little-endian byte buffer, which is what node byte offsets index into and therefore what every text() helper slices.