Code example for BufferedOutputStream

Methods: close, flush, write