If you know the precise length of the String you are building in advance, usually you can build it more efficiently with a char[] ca and use new String( ca ) to convert the result.
You can use a ByteArrayStream as a sort of StringBuffer for bytes.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/stringbuffer.html | J:\mindprod\jgloss\stringbuffer.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.105] | |
| Feedback | You are visitor number 8,075. | |