95-38-140-Buffer-MappedByteBuffer 我就是我 2022-09-10 08:29 109阅读 0赞 ### 文章目录 ### * MappedByteBuffer ![在这里插入图片描述][watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTY3Mzk2Nw_size_16_color_FFFFFF_t_70] # MappedByteBuffer # 内存映射文件:操作内存,内存帮我们写入到磁盘 /** * A direct byte buffer whose content is a memory-mapped region of a file. * * <p> Mapped byte buffers are created via the {@link * java.nio.channels.FileChannel#map FileChannel.map} method. This class * extends the {@link ByteBuffer} class with operations that are specific to * memory-mapped file regions. * * <p> A mapped byte buffer and the file mapping that it represents remain * valid until the buff [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTY3Mzk2Nw_size_16_color_FFFFFF_t_70]: /images/20220829/dc00e8655bc2449aa0ffc873ee3b9de9.png
还没有评论,来说两句吧...