Class UTF8Writer

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable

    public final class UTF8Writer
    extends Writer
    Specialized buffering UTF-8 writer. The main reason for custom version is to allow for efficient buffer recycling; the second benefit is that encoder has less overhead for short content encoding (compared to JDK default codecs).
    Author:
    Tatu Saloranta