public FastByteArrayInputStream convertToInputStream() {
        return new FastByteArrayInputStream(buf, count);
    }
Creates InputStream using the same data that is written into this stream with
no copying in memory

@return a input stream contained all bytes recorded in a current stream
clickhouse-data/src/main/java/com/clickhouse/data/format/tsv/FastByteArrayOutputStream.java