Class UTF8
- Namespace
- SimdUnicode
- Assembly
- SimdUnicode.dll
public static class UTF8
- Inheritance
-
UTF8
- Inherited Members
Methods
- GetPointerToFirstInvalidByte(byte*, int, out int, out int)
Given an input buffer
pInputBufferof byte lengthinputLength, returns a pointer to where the first invalid data appears inpInputBuffer. The parameterUtf16CodeUnitCountAdjustmentis set according to the content of the valid UTF-8 characters encountered, counting -1 for each 2-byte character, -2 for each 3-byte and 4-byte characters. The parameterScalarCodeUnitCountAdjustmentis set according to the content of the valid UTF-8 characters encountered, counting -1 for each 4-byte character.