mappedbytebuffer
时间: 2023-08-26 16:15:16 浏览: 91
深入浅出MappedByteBuffer.pdf
MappedByteBuffer是Java NIO中的一个类,它提供了一种将文件的一部分直接映射到内存中的方式,实现了零拷贝的效果。它可以通过FileChannel的map方法来创建,并且可以用于读取和写入数据。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [理解 MappedByteBuffer 及其实现类 DirectByteBuffer](https://blog.csdn.net/yzh_1346983557/article/details/119760911)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [神奇的MappedByteBuffer](https://blog.csdn.net/m0_53157173/article/details/127584591)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文