public int size() {
        return count;
    }
Returns the current size of the buffer.

@return the value of the <code>count</code> field, which is the number of
        valid bytes in this output stream.
clickhouse-data/src/main/java/com/clickhouse/data/format/tsv/FastByteArrayOutputStream.java