Dynamically select encoding according to stream's runtime-specified UTF encoding type.
More...
|
template<typename OutputStream > |
static RAPIDJSON_FORCEINLINE void | Encode (OutputStream &os, unsigned codepoint) |
|
template<typename OutputStream > |
static RAPIDJSON_FORCEINLINE void | EncodeUnsafe (OutputStream &os, unsigned codepoint) |
|
template<typename InputStream > |
static RAPIDJSON_FORCEINLINE bool | Decode (InputStream &is, unsigned *codepoint) |
|
template<typename InputStream , typename OutputStream > |
static RAPIDJSON_FORCEINLINE bool | Validate (InputStream &is, OutputStream &os) |
|
template<typename CharType>
struct AutoUTF< CharType >
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().
Definition at line 615 of file encodings.h.