public byte getByte(int offset) {
        return array[position + ClickHouseChecker.between(offset, "Offset", 0, length)];
    }
Creates a copy of the current byte buffer.

@param deep true to copy the underlying byte array; false to reuse
@return non-null copy of the current byte buffer
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseByteBuffer.java