Improved speed: replaced slow jdataview with fast bytebuffer implementation