UTF-16 little endian encoding.
More...
#include <encodings.h>
|
| RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=2) |
|
|
static bool | Decode (InputStream &is, unsigned *codepoint) |
|
static void | Encode (OutputStream &os, unsigned codepoint) |
|
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) |
|
static bool | Validate (InputStream &is, OutputStream &os) |
|
template<typename CharType = wchar_t>
struct UTF16LE< CharType >
UTF-16 little endian encoding.
Definition at line 342 of file encodings.h.
◆ Ch
typedef wchar_t UTF16< wchar_t >::Ch |
|
inherited |
◆ anonymous enum
◆ Decode()
static bool UTF16< wchar_t >::Decode |
( |
InputStream & | is, |
|
|
unsigned * | codepoint ) |
|
inlinestaticinherited |
◆ Encode()
static void UTF16< wchar_t >::Encode |
( |
OutputStream & | os, |
|
|
unsigned | codepoint ) |
|
inlinestaticinherited |
◆ EncodeUnsafe()
static void UTF16< wchar_t >::EncodeUnsafe |
( |
OutputStream & | os, |
|
|
unsigned | codepoint ) |
|
inlinestaticinherited |
◆ Put()
template<typename CharType = wchar_t>
template<typename OutputByteStream>
static void UTF16LE< CharType >::Put |
( |
OutputByteStream & | os, |
|
|
CharType | c ) |
|
inlinestatic |
◆ PutBOM()
template<typename CharType = wchar_t>
template<typename OutputByteStream>
static void UTF16LE< CharType >::PutBOM |
( |
OutputByteStream & | os | ) |
|
|
inlinestatic |
◆ Take()
template<typename CharType = wchar_t>
template<typename InputByteStream>
static CharType UTF16LE< CharType >::Take |
( |
InputByteStream & | is | ) |
|
|
inlinestatic |
◆ TakeBOM()
template<typename CharType = wchar_t>
template<typename InputByteStream>
static CharType UTF16LE< CharType >::TakeBOM |
( |
InputByteStream & | is | ) |
|
|
inlinestatic |
◆ Validate()
static bool UTF16< wchar_t >::Validate |
( |
InputStream & | is, |
|
|
OutputStream & | os ) |
|
inlinestaticinherited |
The documentation for this struct was generated from the following file: