http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html
主要用于各种网络协议的组包具体用法可以点上面的网址功能和jAVA的一样