UTF16
Engine/source/persistence/rapidjson/encodings.h
UTF-16 encoding.
Public Functions
RAPIDJSON_STATIC_ASSERT(sizeof(Ch) >= 2)
Public Static Functions
Detailed Description
UTF-16 encoding.
Type for storing 16-bit UTF-16 data. Default is wchar_t. C++11 may use char16_t instead. implements Encoding concept For in-memory access, no need to concern endianness. The code units and code points are represented by CPU's endianness. For streaming, use UTF16LE and UTF16BE, which handle endianness.CharType note:
note:
Public Types
@124
Enumerator
- supportUnicode = 1
typedef CharType Ch
Public Functions
RAPIDJSON_STATIC_ASSERT(sizeof(Ch) >= 2)
Public Static Functions
Decode(InputStream & is, unsigned * codepoint)
Encode(OutputStream & os, unsigned codepoint)
EncodeUnsafe(OutputStream & os, unsigned codepoint)
Validate(InputStream & is, OutputStream & os)