What is the use of ByteBuffer in Java?

This is a good description of its uses and shortcomings. You essentially use it whenever you need to do fast low-level I/O. If you were going to implement a TCP/IP protocol or if you were writing a database (DBMS) this class would come in handy.

 

http://www.evanjones.ca/software/java-bytebuffers.html

http://mindprod.com/jgloss/bytebuffer.html

你可能感兴趣的:(ByteBuffer)