public void wrap ( final FileChannel fileChannel , final FileChannel . MapMode mapMode , final long offset , final long length ) { unmap ( ) ; this . fileChannel = fileChannel ; this . mapMode = mapMode ; map ( offset , length ) ; }
Remap the buffer based on a new file mapping mode offset and a length