StringBuffer

StringBuffer
Scaleform::StringBuffer
Declaration
class StringBuffer;
Description

StringBuffer is a string buffer which is used to build strings.

Methods
Method 
Description 
Appends a character to the string. 
Appends a specified string to the end of the string. 
Sets the size of buffer to zero, but does not release the memory. 
Returns a memory heap assigned to the string. 
Returns the next character in the UTF-8 encoded character string. 
Returns the grow size set by SetGrowSize for enlarging /shrinking the buffer. 
Returns the character at specified index. 
Returns the first character of the UTF character string. 
Returns the number of characters in the string. 
Returns the number of bytes in the string. 
Inserts a substring to the original string at the specified position. 
Inserts a new character at desired position. 
Determines whether the string is empty or not. 
Initializes StringBuffer. 
Resizes the string to a new size. 
Resizes the size of the buffer and creates a new buffer to hold the string. 
Modifies the grow size used for enlarging/shrinking the buffer. 
Obtains a pointer to raw buffer of string. 
Operators
Operator 
Description 
[] 
Returns the byte in the data array at the specified index. The index should be less than the number of bytes in the string. 
+= 
Returns a new String which is a concatenation of the original string with the parameter. 
= 
Assigns a string. 
Operator function for casting to a pointer of type char. 
+= 
 
= 
 
File

SF_String.h