pub fn wtf8ToWtf16Le(wtf16le: []u16, wtf8: []const u8) error wtf16le: []u16wtf8: []const u81852
1853
1854pub fn wtf8ToWtf16Le(wtf16le: []u16, wtf8: []const u8) error{InvalidWtf8}!usize {
return utf8ToUtf16LeImpl(wtf16le, wtf8, .can_encode_surrogate_half);
}
Returns index of next character. If exact fit, returned index equals output slice length. Assumes there is enough space for the output.