Method: Fat32::FileData#initialize

Defined in:
lib/fs/fat32/file_data.rb

#initialize(dirEntry, bootSector) ⇒ FileData

Initialization



9
10
11
12
13
14
15
16
# File 'lib/fs/fat32/file_data.rb', line 9

def initialize(dirEntry, bootSector)
  raise "Nil directory entry" if dirEntry.nil?
  raise "Nil boot sector" if bootSector.nil?

  @bs = bootSector
  @de = dirEntry
  rewind
end