Class: Resedit::LE

Inherits:
ExeFile show all
Defined in:
lib/resedit/mz/le.rb

Constant Summary collapse

HDRCLASS =
LEHeader
BODYCLASS =
LEBody
MODE =
32

Constants inherited from ExeFile

ExeFile::CFGEXT

Instance Attribute Summary collapse

Attributes inherited from ExeFile

#body, #env, #fname, #header, #name, #path

Instance Method Summary collapse

Methods inherited from ExeFile

#append, #change, #close, #dasm, #getValue, #hex, #hexify, #initialize, #is?, #loadConfig, #log, #print, #readRelocated, #reloc, #relocfind, #replace, #revert, #s2i, #save, #saveConfig, #saveFile, #stringfind, #valueof, #wsize

Constructor Details

This class inherits a constructor from Resedit::ExeFile

Instance Attribute Details

#mzSizeObject (readonly)

Returns the value of attribute mzSize.



344
345
346
# File 'lib/resedit/mz/le.rb', line 344

def mzSize
  @mzSize
end

Instance Method Details

#load(file, sz, prev) ⇒ Object



346
347
348
349
# File 'lib/resedit/mz/le.rb', line 346

def load(file, sz, prev)
    @mzSize = prev.header.fileSize()
    super(file, sz, prev)
end