List of utility methods to do FloatBuffer Create
ByteBuffer bb = ByteBuffer.allocateDirect(i_len * 4); bb.order(ByteOrder.nativeOrder()); FloatBuffer fb = bb.asFloatBuffer(); fb.position(0); return fb;