java.lang.Object
java.io.Writer
com.espertech.esper.common.client.json.minimaljson.WritingBuffer
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class WritingBuffer extends Writer
A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It deliberately deviates from the contract of Writer. In particular, it does not flush or close the wrapped writer nor does it ensure that the wrapped writer is open.