RapidJSON: rapidjson::UTF8< CharType > 模板结构体 参考

Public 类型 | 静态 Public 成员函数 | 所有成员列表
rapidjson::UTF8< CharType > 模板结构体 参考

UTF-8 encoding. 更多...

`#include <encodings.h>`

## Public 类型
enum | { supportUnicode = 1 }
typedef CharType | Ch

## 静态 Public 成员函数
template<typename OutputStream >
static void | Encode (OutputStream &os, unsigned codepoint)
template<typename OutputStream >
static void | EncodeUnsafe (OutputStream &os, unsigned codepoint)
template<typename InputStream >
static bool | Decode (InputStream &is, unsigned *codepoint)
template<typename InputStream , typename OutputStream >
static bool | Validate (InputStream &is, OutputStream &os)
static unsigned char | GetRange (unsigned char c)
template<typename InputByteStream >
static CharType | TakeBOM (InputByteStream &is)
template<typename InputByteStream >
static Ch | Take (InputByteStream &is)
template<typename OutputByteStream >
static void | PutBOM (OutputByteStream &os)
template<typename OutputByteStream >
static void | Put (OutputByteStream &os, Ch c)

## 详细描述

### template<typename CharType = char>
struct rapidjson::UTF8< CharType >

UTF-8 encoding.

http://en.wikipedia.org/wiki/UTF-8 http://tools.ietf.org/html/rfc3629

模板参数

  CharType | Code unit for storing 8-bit UTF-8 data. Default is char.

注解
  implements Encoding concept

该结构体的文档由以下文件生成:

- include/rapidjson/encodings.h