Code example for BufferedOutputStream

Methods: flushwrite, close