WStringBuffer

WStringBuffer
Scaleform::WStringBuffer
Declaration
class WStringBuffer;
Description

WStringBuffer is used to store string buffer of wchar_t. This class is used when a variable size Unicode character buffer is needed. Also used by GFx::Translator interface. 

Usually WStringBuffer is used as a temporary storage for wide strings.

Methods
Method 
Description 
Resets buffer contents to empty. 
Returns the string buffer. 
Returns the number of characters in the string buffer. 
Resizes the buffer to a new size. 
Sets a wide character string buffer. 
Strips the trailing new lines in the buffer. 
Returns a pointer to null terminated string of wchar_t. 
WStringBuffer constructor. 
Operators
Operator 
Description 
[] 
Character access and mutation. 
= 
Assigns buffer data. 
Structures
Structure 
Description 
Buffer data reservation object. Creates a buffer of fixed size, must be passed on the constructor. 
Reservation header for maintaining size and reservation pointer. 
File

SF_WString.h