private void read ( ) throws IOException { final byte [ ] data = new byte [ sectorCount * sectorSize ] ; device . read ( offset , ByteBuffer . wrap ( data ) ) ; for ( int i = 0 ; i < entries . length ; i ++ ) entries [ i ] = fatType . readEntry ( data , i ) ; }
Read the contents of this FAT from the given device at the given offset .