Append family of functions appends a value to the end of a string's internal buffer.
void Append( const self_type& aString );
- [in] A nsACString to append to this string.
void Append( const char_type* aData, size_type aDataLength = PR_UINT32_MAX );
- [in] A raw character array to append to this string.
- [in] The length of aData, measured in storage units. If equal to PR_UINT32_MAX, then aData is assumed to be null-terminated. Otherwise, aData need not be null terminated.
void Append( char_type aChar );
- [in] A character to append to this string.
If insufficient memory is available to perform the assignment, then the string's internal buffer will point to a static empty (zero-length) buffer.