摘要: FileChannel的作用: channel可以只操作一个文件的一部分,chunk操作, 比如替换大文件的文件头 文件截断truncate IO性能 ByteBuffer HeapByteBuffer = ByteBuffer.allocate(n)申请堆上的buffer DirectByteBu 阅读全文
posted @ 2018-08-01 16:32 funny_coding 阅读(1060) 评论(0) 推荐(0) 编辑
build beautiful things, share happiness