Having -
FloatBuffer floatBuffer = FloatBuffer.allocate(SIZE)
how could I get its float[SIZE]
?
Having -
FloatBuffer floatBuffer = FloatBuffer.allocate(SIZE)
how could I get its float[SIZE]
?
You can use the FloatBuffer#get(float[] dst) method to copy the underlying array to a new destination array.