Code example for Writer

Methods: closeflushwrite