public void writeTo(OutputStream output) throws IOException {
        output.write(buf, 0, count);
    }
returns inner array

@return the current contents of this output stream, as a byte array.
clickhouse-data/src/main/java/com/clickhouse/data/format/tsv/FastByteArrayOutputStream.java