IntViewBufferImpl(ByteBuffer bb, int capacity) {
   super(capacity, capacity, 0, -1);
   this.bb = bb;
   this.offset = bb.position();
   this.readOnly = bb.isReadOnly();
   this.endian = bb.order();
   if (bb.isDirect()) this.address = VMDirectByteBuffer.adjustAddress(bb.address, offset);
 }