Code example for BufferedOutputStream

Methods: flush, close