private void handleReadBuffer ( ) throws IOException { if ( readBuffer . remaining ( ) == 0 ) { readBuffer . clear ( ) ; actualFile . read ( actualFileOffset , readBuffer ) ; actualFileOffset += readBuffer . limit ( ) ; readBuffer . position ( 0 ) ; } }
fills the ReadBuffer from the HeaderIndexFile