webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::TextCodecUTF16 Class Reference

#include <TextCodecUTF16.h>

Inheritance diagram for WebCore::TextCodecUTF16:
WebCore::TextCodec WebCore::TextCodec

Public Member Functions

 TextCodecUTF16 (bool littleEndian)
 
String decode (const char *, size_t length, bool flush, bool stopOnError, bool &sawError) override
 
CString encode (const UChar *, size_t length, UnencodableHandling) override
 
 TextCodecUTF16 (bool littleEndian)
 
String decode (const char *, size_t length, bool flush, bool stopOnError, bool &sawError) override
 
CString encode (const UChar *, size_t length, UnencodableHandling) override
 
- Public Member Functions inherited from WebCore::TextCodec
 TextCodec ()
 
virtual ~TextCodec ()
 
String decode (const char *str, size_t length, bool flush=false)
 
 TextCodec ()
 
virtual ~TextCodec ()
 
String decode (const char *str, size_t length, bool flush=false)
 

Static Public Member Functions

static void registerEncodingNames (EncodingNameRegistrar)
 
static void registerCodecs (TextCodecRegistrar)
 
static void registerEncodingNames (EncodingNameRegistrar)
 
static void registerCodecs (TextCodecRegistrar)
 
- Static Public Member Functions inherited from WebCore::TextCodec
static int getUnencodableReplacement (unsigned codePoint, UnencodableHandling, UnencodableReplacementArray)
 
static int getUnencodableReplacement (unsigned codePoint, UnencodableHandling, UnencodableReplacementArray)
 

Constructor & Destructor Documentation

◆ TextCodecUTF16() [1/2]

WebCore::TextCodecUTF16::TextCodecUTF16 ( bool  littleEndian)
inline

◆ TextCodecUTF16() [2/2]

WebCore::TextCodecUTF16::TextCodecUTF16 ( bool  littleEndian)
inline

Member Function Documentation

◆ decode() [1/2]

String WebCore::TextCodecUTF16::decode ( const char *  bytes,
size_t  length,
bool  flush,
bool  stopOnError,
bool &  sawError 
)
overridevirtual

Implements WebCore::TextCodec.

◆ decode() [2/2]

String WebCore::TextCodecUTF16::decode ( const char *  ,
size_t  length,
bool  flush,
bool  stopOnError,
bool &  sawError 
)
overridevirtual

Implements WebCore::TextCodec.

◆ encode() [1/2]

CString WebCore::TextCodecUTF16::encode ( const UChar characters,
size_t  length,
UnencodableHandling   
)
overridevirtual

Implements WebCore::TextCodec.

◆ encode() [2/2]

CString WebCore::TextCodecUTF16::encode ( const UChar ,
size_t  length,
UnencodableHandling   
)
overridevirtual

Implements WebCore::TextCodec.

◆ registerCodecs() [1/2]

void WebCore::TextCodecUTF16::registerCodecs ( TextCodecRegistrar  registrar)
static

◆ registerCodecs() [2/2]

static void WebCore::TextCodecUTF16::registerCodecs ( TextCodecRegistrar  )
static

◆ registerEncodingNames() [1/2]

void WebCore::TextCodecUTF16::registerEncodingNames ( EncodingNameRegistrar  registrar)
static

◆ registerEncodingNames() [2/2]

static void WebCore::TextCodecUTF16::registerEncodingNames ( EncodingNameRegistrar  )
static

The documentation for this class was generated from the following files: