Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions | List of all members
Transcoder< SourceEncoding, TargetEncoding > Struct Template Reference

Encoding conversion. More...

`#include <encodings.h>`

## Static Public Member Functions
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool | Transcode (InputStream &is, OutputStream &os)
| Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream. More...
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool | Validate (InputStream &is, OutputStream &os)
| Validate one Unicode codepoint from an encoded stream. More...

## Detailed Description

### template<typename SourceEncoding, typename TargetEncoding>
struct rapidjson::Transcoder< SourceEncoding, TargetEncoding >

Encoding conversion.

## Member Function Documentation

static RAPIDJSON_FORCEINLINE bool Transcode | ( | InputStream & | is,
|  | OutputStream & | os
| ) |  |
| inline static

Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.

static RAPIDJSON_FORCEINLINE bool Validate | ( | InputStream & | is,
|  | OutputStream & | os
| ) |  |
| inline static

Validate one Unicode codepoint from an encoded stream.

The documentation for this struct was generated from the following file:

- persistence/rapidjson/include/rapidjson/encodings.h