Login  Register

Re: UnsupportedOperationException from Buffers.newDirectByteBuffer()

Posted by gouessej on Apr 01, 2014; 7:49am
URL: https://forum.jogamp.org/UnsupportedOperationException-from-Buffers-newDirectByteBuffer-tp4032085p4032089.html

Hi

If you really need an array, just follow the advice I gave you on Stackoverflow:
gouessej wrote
Then, create an array and copy the content of your buffer into it.
http://stackoverflow.com/a/22756351
Julien Gouesse | Personal blog | Website