Code example for BufferedOutputStream

Methods: close, flush