MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / Transcode

Method Transcode

rapidjson/encodings.h:661–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659 //! Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.
660 template<typename InputStream, typename OutputStream>
661 RAPIDJSON_FORCEINLINE static bool Transcode(InputStream& is, OutputStream& os) {
662 unsigned codepoint;
663 if (!SourceEncoding::Decode(is, &codepoint))
664 return false;
665 TargetEncoding::Encode(os, codepoint);
666 return true;
667 }
668
669 template<typename InputStream, typename OutputStream>
670 RAPIDJSON_FORCEINLINE static bool TranscodeUnsafe(InputStream& is, OutputStream& os) {

Callers

nothing calls this directly

Calls 2

DecodeFunction · 0.85
EncodeFunction · 0.85

Tested by

no test coverage detected