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

CalculateUTF8Length Class Reference

#include <nsUTF8Utils.h>

List of all members.


Detailed Description

A character sink (see |copy_string| in nsAlgorithm.h) for computing the length of the UTF-16 string equivalent to a UTF-8 string.

Definition at line 212 of file nsUTF8Utils.h.


Public Types

typedef nsACString::char_type value_type

Public Member Functions

size_t Length () const
PRUint32 NS_ALWAYS_INLINE write (const value_type *start, PRUint32 N)

Private Attributes

PRBool mErrorEncountered
size_t mLength

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

Generated by  Doxygen 1.6.0   Back to index