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 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. More...
 

Detailed Description

template<typename SourceEncoding, typename TargetEncoding>
struct Transcoder< SourceEncoding, TargetEncoding >

Encoding conversion.

Definition at line 817 of file encodings.h.

Member Function Documentation

template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool Transcoder< SourceEncoding, TargetEncoding >::Transcode ( InputStream &  is,
OutputStream &  os 
)
inlinestatic

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

Definition at line 821 of file encodings.h.

template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool Transcoder< SourceEncoding, TargetEncoding >::TranscodeUnsafe ( InputStream &  is,
OutputStream &  os 
)
inlinestatic

Definition at line 831 of file encodings.h.

template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool Transcoder< SourceEncoding, TargetEncoding >::Validate ( InputStream &  is,
OutputStream &  os 
)
inlinestatic

Validate one Unicode codepoint from an encoded stream.

Definition at line 842 of file encodings.h.


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


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54