A character sink (see |copy_string| in nsAlgorithm.h) for computing the number of bytes a UTF-16 would occupy in UTF-8. More...
#include <nsUTF8Utils.h>
Public Types | |
| typedef PRUnichar | value_type |
Public Member Functions | |
| CalculateUTF8Size () | |
| size_t | Size () const |
| void NS_ALWAYS_INLINE | write (const value_type *start, PRUint32 N) |
A character sink (see |copy_string| in nsAlgorithm.h) for computing the number of bytes a UTF-16 would occupy in UTF-8.
Treats invalid UTF-16 data as 0xFFFD (0xEFBFBD in UTF-8).
| CalculateUTF8Size::CalculateUTF8Size | ( | ) | [inline] |
| size_t CalculateUTF8Size::Size | ( | ) | const [inline] |
| void NS_ALWAYS_INLINE CalculateUTF8Size::write | ( | const value_type * | start, | |
| PRUint32 | N | |||
| ) | [inline] |
1.7.1