Torque3D Documentation / _generateds / rapidjson::UTF32

rapidjson::UTF32

Engine/source/persistence/rapidjson/encodings.h

UTF-32 encoding.

More...

Public Types

CharType
Ch 

Public Functions

Public Static Functions

bool
Decode(InputStream & is, unsigned * codepoint)
Encode(OutputStream & os, unsigned codepoint)
bool
Validate(InputStream & is, OutputStream & os)

Detailed Description

UTF-32 encoding.

http://en.wikipedia.org/wiki/UTF-32 Parameters:

Ch

Type for storing 32-bit UTF-32 data. Default is unsigned. C++11 may use char32_t instead.

note:

For in-memory access, no need to concern endianness. The code units and code points are represented by CPU's endianness. For streaming, use UTF32LE and UTF32BE, which handle endianness.

Public Types

typedef CharType Ch 

Public Functions

RAPIDJSON_STATIC_ASSERT(sizeof(Ch) >= 4)

Public Static Functions

Decode(InputStream & is, unsigned * codepoint)

Encode(OutputStream & os, unsigned codepoint)

Validate(InputStream & is, OutputStream & os)