简体   繁体   中英

How to read block of memory with java

Is it possible to read values of a block from "memory or file" with java?

For example values of 32bit*8bit blocks.

I tried to use Unsafe but I wasn't successful

Thanks

请检查此博客条目,该条目解释了如何直接访问内存。.http://javarevisited.blogspot.com/2012/01/memorymapped-file-and-io-in-java.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM