public void set(byte[] bytes) {
        set(bytes, 0, bytes.length);
    }
A bytes wrapper mainly used to correctly compare contents of two byte lists.
indexr-common/src/main/java/io/indexr/util/ByteArrayWrapper.java