class NoCopyCharArrayWriter
extends java.io.CharArrayWriter
CharArrayWriter that returns the internal buffer (instead of a copy) if the
buffer has just the right size, i.e. if the size of the buffer is equal to the number of
characters that have been written.| Constructor and Description |
|---|
NoCopyCharArrayWriter(int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
toCharArray() |