protected void processMap(ByteBuffer buffer,int bufferStartPage){
  int byteCount=0;
  while (buffer.hasRemaining()) {
    byte b=buffer.get();
    if (b != (byte)0) {
      for (int i=0; i < 8; i++) {
        if ((b & (1 << i)) != 0) {
          int pageNumberOffset=(byteCount * 8 + i) + bufferStartPage;
          int pageNumber=bitIndexToPageNumber(pageNumberOffset,PageChannel.INVALID_PAGE_NUMBER);
          if (!isPageWithinRange(pageNumber)) {
            throw new IllegalStateException("found page number " + pageNumber + " in usage map outside of expected range "+ _startPage+ " to "+ _endPage);
          }
          _pageNumbers.set(pageNumberOffset);
        }
      }
    }
    byteCount++;
  }
}

protected void processMap ( ByteBuffer buffer , int bufferStartPage ) { int byteCount = 0 ; while ( buffer . hasRemaining ( ) ) { byte b = buffer . get ( ) ; if ( b != ( byte ) 0 ) { for ( int i = 0 ; i < 8 ; i ++ ) { if ( ( b & ( 1 << i ) ) != 0 ) { int pageNumberOffset = ( byteCount * 8 + i ) + bufferStartPage ; int pageNumber = bitIndexToPageNumber ( pageNumberOffset , PageChannel . INVALID_PAGE_NUMBER ) ; if ( ! isPageWithinRange ( pageNumber ) ) { throw new IllegalStateException ( "found page number " + pageNumber + " in usage map outside of expected range " + _startPage + " to " + _endPage ) ; } _pageNumbers . set ( pageNumberOffset ) ; } } } byteCount ++ ; } }
read in the page numbers in this inline map
