    public IndexedUnsafeBuffer(ByteOrder byteOrder) {
        this.byteOrder = byteOrder;
        delegate = new UnsafeBuffer(EMPTY_ARRAY);
    }

    public void wrap(ByteBuffer buffer) {
        wrap(buffer, 0, buffer.capacity());
    }

    public void wrap(ByteBuffer buffer, int offset, int length) {