bes Updated for version 3.20.13
UTF16BE< CharType > Struct Template Reference

UTF-16 big endian encoding. More...

#include <encodings.h>

Collaboration diagram for UTF16BE< CharType >:
Collaboration graph

Public Types

enum  { supportUnicode = 1 }
 
typedef CharType Ch
 

Public Member Functions

 RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=2)
 

Static Public Member Functions

template<typename InputStream >
static bool Decode (InputStream &is, unsigned *codepoint)
 
template<typename OutputStream >
static void Encode (OutputStream &os, unsigned codepoint)
 
template<typename OutputStream >
static void EncodeUnsafe (OutputStream &os, unsigned codepoint)
 
template<typename OutputByteStream >
static void Put (OutputByteStream &os, CharType c)
 
template<typename OutputByteStream >
static void PutBOM (OutputByteStream &os)
 
template<typename InputByteStream >
static CharType Take (InputByteStream &is)
 
template<typename InputByteStream >
static CharType TakeBOM (InputByteStream &is)
 
template<typename InputStream , typename OutputStream >
static bool Validate (InputStream &is, OutputStream &os)
 

Detailed Description

template<typename CharType = wchar_t>
struct UTF16BE< CharType >

UTF-16 big endian encoding.

Definition at line 375 of file encodings.h.

Member Typedef Documentation

◆ Ch

template<typename CharType = wchar_t>
typedef CharType UTF16< CharType >::Ch
inherited

Definition at line 270 of file encodings.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename CharType = wchar_t>
anonymous enum
inherited

Definition at line 273 of file encodings.h.

Member Function Documentation

◆ Decode()

template<typename CharType = wchar_t>
template<typename InputStream >
static bool UTF16< CharType >::Decode ( InputStream &  is,
unsigned *  codepoint 
)
inlinestaticinherited

Definition at line 307 of file encodings.h.

◆ Encode()

template<typename CharType = wchar_t>
template<typename OutputStream >
static void UTF16< CharType >::Encode ( OutputStream &  os,
unsigned  codepoint 
)
inlinestaticinherited

Definition at line 276 of file encodings.h.

◆ EncodeUnsafe()

template<typename CharType = wchar_t>
template<typename OutputStream >
static void UTF16< CharType >::EncodeUnsafe ( OutputStream &  os,
unsigned  codepoint 
)
inlinestaticinherited

Definition at line 292 of file encodings.h.

◆ Put()

template<typename CharType = wchar_t>
template<typename OutputByteStream >
static void UTF16BE< CharType >::Put ( OutputByteStream &  os,
CharType  c 
)
inlinestatic

Definition at line 399 of file encodings.h.

◆ PutBOM()

template<typename CharType = wchar_t>
template<typename OutputByteStream >
static void UTF16BE< CharType >::PutBOM ( OutputByteStream &  os)
inlinestatic

Definition at line 392 of file encodings.h.

◆ Take()

template<typename CharType = wchar_t>
template<typename InputByteStream >
static CharType UTF16BE< CharType >::Take ( InputByteStream &  is)
inlinestatic

Definition at line 384 of file encodings.h.

◆ TakeBOM()

template<typename CharType = wchar_t>
template<typename InputByteStream >
static CharType UTF16BE< CharType >::TakeBOM ( InputByteStream &  is)
inlinestatic

Definition at line 377 of file encodings.h.

◆ Validate()

template<typename CharType = wchar_t>
template<typename InputStream , typename OutputStream >
static bool UTF16< CharType >::Validate ( InputStream &  is,
OutputStream &  os 
)
inlinestaticinherited

Definition at line 325 of file encodings.h.


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