private byte[] extract_bytes(int idx) {
        int bytes = decode_meta(data[idx++]);
        if (bytes == 0) {
            bytes = peek_cmpr_int(idx);
            idx = skip_cmpr_int(idx);
        } else {
            --bytes;
        }
        return Arrays.copyOfRange(data, idx, idx + bytes);
    }
A read-only view of a Slime value that is stored in binary format.
vespajlib/src/main/java/com/yahoo/slime/BinaryView.java