Encoding conversion.
More...
#include <encodings.h>
|
| 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.
|
| 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.
|
template<typename SourceEncoding, typename TargetEncoding>
struct Transcoder< SourceEncoding, TargetEncoding >
Encoding conversion.
Definition at line 658 of file encodings.h.
◆ Transcode()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
| 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 661 of file encodings.h.
661 {
664 return false;
666 return true;
667 }
◆ TranscodeUnsafe()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
| RAPIDJSON_FORCEINLINE bool Transcoder< SourceEncoding, TargetEncoding >::TranscodeUnsafe |
( |
InputStream & | is, |
|
|
OutputStream & | os ) |
|
inlinestatic |
Definition at line 670 of file encodings.h.
670 {
673 return false;
675 return true;
676 }
◆ Validate()
template<typename SourceEncoding, typename TargetEncoding>
template<typename InputStream, typename OutputStream>
| RAPIDJSON_FORCEINLINE bool Transcoder< SourceEncoding, TargetEncoding >::Validate |
( |
InputStream & | is, |
|
|
OutputStream & | os ) |
|
inlinestatic |
Validate one Unicode codepoint from an encoded stream.
Definition at line 680 of file encodings.h.
680 {
682 }
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 outp...
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/include/rapidjson/encodings.h