Exemplo n.º 1
0
 public static ByteBuffer newDirectByteBuffer(Address address, long capacity) {
   Pointer pointer = gnu.classpath.JikesRVMSupport.getPointerFromAddress(address);
   return new DirectByteBufferImpl.ReadWrite(null, pointer, (int) capacity, (int) capacity, 0);
 }