Method
StringBuffer::__construct
Creates an empty buffer.
Description#
public StringBuffer::__construct(
?int $maxSize = null
)Parameters#
- $maxSize ?int = null
- The most bytes
write()lets accumulate unread before it waits; null: no limit
Errors / Exceptions#
| Exception | When |
|---|---|
OutOfBoundsException | If $maxSize is given and below 1 |