Method
StringBuffer::end
Marks the end of the stream: no more writes are accepted, and readers get the data left and then the end.
Description#
public StringBuffer::end(): voidErrors / Exceptions#
| Exception | When |
|---|---|
LogicException | If the buffer has ended already |
See also#
StringBuffer::eofReturns true if the buffer has ended and all its data has been read.