用bytebuffer进行文件的读写代码段
摘要:
ByteBuffer byteBuffer = ByteBuffer.allocate(1024); //Direct Buffer的效率会更高。// ByteBuffer byteBuffer = ByteBuffer.allocateDirect(1024); long start = Syst 阅读全文
posted @ 2016-09-19 11:25 MaXianZhe 阅读(1316) 评论(0) 推荐(0) 编辑