private static int indexOf(byte[] array, byte target, int start, int end) {
        for (int i = start; i < end; i++) {
            if (array[i] == target) {
                return i;
            }
        }
        return -1;
    }
We have a stream of bytes and a separator as an input. We split the stream by
the separator and pass the byte arrays to output.
clickhouse-data/src/main/java/com/clickhouse/data/format/tsv/StreamSplitter.java