Function encoding_rs::mem::utf16_valid_up_to [−][src]
Expand description
Returns the index of the first unpaired surrogate or, if the input is valid UTF-16 in its entirety, the length of the input.
Returns the index of the first unpaired surrogate or, if the input is valid UTF-16 in its entirety, the length of the input.