- charsetName
- a string representing the encoding to use when translating this stream to a string.
Documentation for this section has not yet been entered.
Type Reason Java.IO.UnsupportedEncodingException if the provided encoding is not supported.
Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in charsetName.