Hacker News new | past | comments | ask | show | jobs | submit login

I don't see how you ever get java working without jni. Which will be remarkably slow.



You use ByteBuffer, which has methods for reading numeric primitives of various sizes (int, long, float, double, ...) from specified offsets.


Or unsafe for non-portable solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: