Public Types | Public Member Functions

CalculateUTF8Length Class Reference

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

#include <nsUTF8Utils.h>

List of all members.

Public Types

typedef char value_type

Public Member Functions

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

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.


Member Typedef Documentation


Constructor & Destructor Documentation

CalculateUTF8Length::CalculateUTF8Length (  )  [inline]

Member Function Documentation

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

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