Public Types | Public Member Functions

ConvertUTF8toUTF16 Class Reference

A character sink (see |copy_string| in nsAlgorithm.h) for converting UTF-8 to UTF-16. More...

#include <nsUTF8Utils.h>

List of all members.

Public Types

typedef char value_type
typedef PRUnichar buffer_type

Public Member Functions

 ConvertUTF8toUTF16 (buffer_type *aBuffer)
size_t Length () const
void write (const value_type *start, PRUint32 N)
void write_terminator ()

Detailed Description

A character sink (see |copy_string| in nsAlgorithm.h) for converting UTF-8 to UTF-16.


Member Typedef Documentation


Constructor & Destructor Documentation

ConvertUTF8toUTF16::ConvertUTF8toUTF16 ( buffer_type aBuffer  )  [inline]

Member Function Documentation

size_t ConvertUTF8toUTF16::Length (  )  const [inline]
void ConvertUTF8toUTF16::write ( const value_type start,
PRUint32  N 
) [inline]
void ConvertUTF8toUTF16::write_terminator (  )  [inline]

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