Code example for ByteArrayOutputStream

Methods: write, writeTo