Code example for ByteArrayOutputStream

Methods: close, flush, toByteArray