Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

ConvertUTF8toUTF16 Class Reference

#include <nsUTF8Utils.h>

List of all members.

Detailed Description

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

Definition at line 67 of file nsUTF8Utils.h.

Public Types

typedef nsAString::char_type buffer_type
typedef nsACString::char_type value_type

Public Member Functions

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

Private Attributes

buffer_type * mBuffer
PRBool mErrorEncountered
buffer_type *const mStart

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

Generated by  Doxygen 1.6.0   Back to index