I've noticed that in lwjgl, the functions which would require an array in opengl require bytebuffers or floatbuffers in lwjgl. is this for speed?

i need to be able to pass an array to a function...