Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

ConvertUTF16toUTF8 Class Reference

#include <nsUTF8Utils.h>

List of all members.

Detailed Description

A character sink (see |copy_string| in nsAlgorithm.h) for converting UTF-16 to UTF-8. Treats invalid UTF-16 data as 0xFFFD (0xEFBFBD in UTF-8).

Definition at line 531 of file nsUTF8Utils.h.

Public Types

typedef char buffer_type
typedef PRUnichar value_type

Public Member Functions

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

Private Attributes

buffer_type * mBuffer
buffer_type *const mStart

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

Generated by  Doxygen 1.6.0   Back to index