@Override
    public void flush() throws IOException {
        ensureOpen();

        if (position > 0) {
            flushBuffer();
        }
        output.flush();
    }
Wrapper of {@link java.io.OutputStream}.
clickhouse-data/src/main/java/com/clickhouse/data/stream/WrappedOutputStream.java