Code example for BufferedOutputStream

Methods: flushclosewrite, BufferedOutputStream.write