Buffer is a mutable variable length sequence of characters.
Constructor
Creates new string buffer.
| Parameters |
text -
Initial value of buffer
capacity -
Initial capasity of buffer
|
Methods
Ensures that the capacity of the buffer is at least equal to the specified minimum.
Returns a substring from the given region of this buffer.
| Parameters |
start -
Starting index, included
end -
Ending index, excluded
|