code: 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);
      }
docs: Read the contents of this FAT from the given device at the given offset.
  
  @param offset the byte offset where to read the FAT from the device
  @throws IOException on read error