Transcoder< SourceEncoding, TargetEncoding > Struct Template Reference#
Transcoder< SourceEncoding, TargetEncoding > Struct Template Reference
#include <encodings.h>
Static Public Member Functions | |
| template<typename InputStream, typename OutputStream> | |
| static RAPIDJSON_FORCEINLINE bool | Transcode (InputStream &is, OutputStream &os) |
| template<typename InputStream, typename OutputStream> | |
| static RAPIDJSON_FORCEINLINE bool | TranscodeUnsafe (InputStream &is, OutputStream &os) |
| template<typename InputStream, typename OutputStream> | |
| static RAPIDJSON_FORCEINLINE bool | Validate (InputStream &is, OutputStream &os) |
| Validate one Unicode codepoint from an encoded stream. | |
Detailed Description
template<typename SourceEncoding, typename TargetEncoding>
struct Transcoder< SourceEncoding, TargetEncoding >
struct Transcoder< SourceEncoding, TargetEncoding >
Encoding conversion.
Member Function Documentation
◆ Transcode()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
|
inlinestatic |
Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.
◆ TranscodeUnsafe()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
|
inlinestatic |
◆ Validate()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
|
inlinestatic |
Validate one Unicode codepoint from an encoded stream.
The documentation for this struct was generated from the following file: