Class UTF8ArrayUnsafeUtility
Provides methods for copying and encoding Unicode text.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public static class UTF8ArrayUnsafeUtility
Methods
Name | Description |
---|---|
Append(byte*, ref ushort, ushort, byte*, ushort) | Appends UTF-8 text to a buffer. |
Append(byte*, ref ushort, ushort, char*, int) | Appends UCS-2 text to a buffer, encoded as UTF-8. |
Append(char*, ref ushort, ushort, byte*, ushort) | Appends UTF-8 text to a buffer, encoded as UCS-2. |
AppendUTF8Bytes(byte*, ref int, int, byte*, int) | Appends UTF-8 text to a buffer. |
Copy(byte*, out int, int, byte*, int) | Copies a buffer of UCS-8 text. |
Copy(byte*, out int, int, char*, int) | Copies a buffer of UCS-2 text. The copy is encoded as UTF-8. |
Copy(byte*, out ushort, ushort, byte*, ushort) | Copies a buffer of UCS-8 text. |
Copy(byte*, out ushort, ushort, char*, int) | Copies a buffer of UCS-2 text. The copy is encoded as UTF-8. |
Copy(char*, out int, int, byte*, int) | Copies a buffer of UTF-8 text. The copy is encoded as UCS-2. |
Copy(char*, out ushort, ushort, byte*, ushort) | Copies a buffer of UTF-8 text. The copy is encoded as UCS-2. |
EqualsUTF8Bytes(byte*, int, byte*, int) | Returns true if two UTF-8 buffers have the same length and content. |
StrCmp(byte*, int, byte*, int) | Compares two UTF-8 buffers for relative equality. |
StrCmp(byte*, int, char*, int) | Compares a UTF-8 buffer and a UTF-16 buffer for relative equality. |
StrCmp(char*, int, byte*, int) | Compares a UTF-16 buffer and a UTF-8 buffer for relative equality. |
StrCmp(char*, int, char*, int) | Compares two UTF-16 buffers for relative equality. |