UTF16Cache

Engine/source/core/strings/unicode.cpp

Cache data for UTF16 strings.

More...

Public Attributes

Public Functions

UTF16Cache(UTF16 * str, U32 len)
copyToBuffer(UTF16 * outBuffer, U32 lenToCopy, bool nullTerminate)

Detailed Description

Cache data for UTF16 strings.

This is wrapped in a class so that data is automatically freed when the hash table is deleted.

Public Attributes

U32 mLength 
UTF16 * mString 

Public Functions

UTF16Cache()

UTF16Cache(const UTF16Cache & other)

UTF16Cache(UTF16 * str, U32 len)

~UTF16Cache()

copyToBuffer(UTF16 * outBuffer, U32 lenToCopy, bool nullTerminate)

operator=(const UTF16Cache & other)