- countCodePoints
Counts the code points within UTF-8 encoded slice up to length. Note: This
method does not explicitl
- offsetOfCodePoint
Starting from position bytes in utf8, finds the index of the first byte of the
code point codePointC
- lengthOfCodePoint
Gets the UTF-8 sequence length of the code point at position. Note: This method
does not explicitly
- codePointToUtf8
Convert the code point to UTF-8.
- fixInvalidUtf8
- getCodePointAt
Gets the UTF-8 encoded code point at the position. Note: This method does not
explicitly check for v
- lengthOfCodePointSafe
Gets the UTF-8 sequence length of the code point at position. Truncated UTF-8
sequences, 5 and 6 byt
- tryGetCodePointAt
Tries to get the UTF-8 encoded code point at the position. A positive return
value means the UTF-8 s
- leftTrim
Removes all whiteSpaceCodePoints from the left side of the string. Note: Invalid
UTF-8 sequences are
- reverse
Reverses the slice code point by code point. Note: Invalid UTF-8 sequences are
copied directly to th
- rightTrim
Removes all white whiteSpaceCodePoints from the right side of the string. Note:
Invalid UTF-8 sequen
- setCodePointAt
Sets the UTF-8 sequence for code point at the position.