Photon Fusion 2.1.1

UTF32Tools Class Reference

UTF32Tools provides a set of methods to work with UTF32 encoded strings. More...

Classes

struct  CharEnumerator
 Enumerates the characters in a UTF-32 encoded string. More...
struct  ConversionResult
 Represents the result of a conversion operation. More...

Static Public Member Functions

static ConversionResult Convert (char *str, int strLength, uint *dst, int dstCapacity)
 Converts a UTF-16 encoded string to a UTF-32 encoded representation.
static ConversionResult Convert (ReadOnlySpan< char > str, Span< uint > dst)
 Converts a UTF-16 encoded string to a UTF-32 encoded representation.
static ConversionResult Convert (string str, Span< uint > dst)
 Converts a UTF-16 encoded string to a UTF-32 encoded representation.
static ConversionResult Convert (string str, uint *dst, int dstCapacity)
 Converts a UTF-16 encoded string to a UTF-32 encoded representation.
static int GetLength (string str)
 Gets the length of a UTF-32 encoded string.

Detailed Description

UTF32Tools provides a set of methods to work with UTF32 encoded strings.