Hi I am working with direct buffers in Java, and I need to have a fast memcopy on them. In C there is the memcpy command, and on Java Arrays I have Arrays.copyOf. But there is no way of using Arrays instead of direct buffers, because I need to transfer those to OpenGL.
Share
If you mean “direct” ByteBuffers, there’s a put method which accepts other
ByteBufferinstances so you can copy around.