Android Utililty Methods FloatBuffer Create

List of utility methods to do FloatBuffer Create

Description

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

Method

FloatBuffermakeFloatBuffer(int i_len)
make Float Buffer
ByteBuffer bb = ByteBuffer.allocateDirect(i_len * 4);
bb.order(ByteOrder.nativeOrder());
FloatBuffer fb = bb.asFloatBuffer();
fb.position(0);
return fb;