AutoUTF

Engine/source/persistence/rapidjson/encodings.h

Dynamically select encoding according to stream's runtime-specified UTF encoding type.

More...

Public Types

enum
_Anonymous_ {  supportUnicode = 1
}
CharType
Ch 

Public Static Functions

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

Detailed Description

Dynamically select encoding according to stream's runtime-specified UTF encoding type.

note:

This class can be used with AutoUTFInputtStream and AutoUTFOutputStream, which provides GetType().

Public Types

@127

Enumerator

supportUnicode = 1
typedef CharType Ch 

Public Static Functions

Decode(InputStream & is, unsigned * codepoint)

Encode(OutputStream & os, unsigned codepoint)

EncodeUnsafe(OutputStream & os, unsigned codepoint)

Validate(InputStream & is, OutputStream & os)