Java Utililty Methods IntBuffer Create

List of utility methods to do IntBuffer Create

Description

The list of methods to do IntBuffer Create are organized into topic(s).

Method

IntBuffernewDirectIntBuffer(final int theSize)
new Direct Int Buffer
ByteBuffer myBuffer = ByteBuffer.allocateDirect(theSize * SIZE_OF_INT);
myBuffer.order(ByteOrder.nativeOrder());
return myBuffer.asIntBuffer();