List of utility methods to do IntBuffer Create
IntBuffer | newDirectIntBuffer(final int theSize) new Direct Int Buffer ByteBuffer myBuffer = ByteBuffer.allocateDirect(theSize * SIZE_OF_INT);
myBuffer.order(ByteOrder.nativeOrder());
return myBuffer.asIntBuffer();
|