Creates a new instance of StringOutput.
| Parameter | Description |
|---|---|
| capacity | The estimated capacity for the result string. Essential for performance and GC pressure. |
Creates a new instance of StringOutput with the given capacity.
| Parameter | Description |
|---|---|
| output | Existing Text.StringBuilder to append output to. |
Creates a new instance of StringOutput using the given Text.StringBuilder.