Class: Pliney::MachO::CommonEncryptionInfoReader
- Inherits:
-
CommonLCReader
- Object
- Reader
- CommonLCReader
- Pliney::MachO::CommonEncryptionInfoReader
- Defined in:
- lib/pliney/macho.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cryptid ⇒ Object
readonly
Returns the value of attribute cryptid.
-
#cryptoff ⇒ Object
readonly
Returns the value of attribute cryptoff.
-
#cryptsize ⇒ Object
readonly
Returns the value of attribute cryptsize.
Attributes inherited from CommonLCReader
Attributes inherited from Reader
Instance Method Summary collapse
Methods inherited from CommonLCReader
Methods inherited from Reader
Constructor Details
This class inherits a constructor from Pliney::MachO::Reader
Instance Attribute Details
#cryptid ⇒ Object (readonly)
Returns the value of attribute cryptid.
483 484 485 |
# File 'lib/pliney/macho.rb', line 483 def cryptid @cryptid end |
#cryptoff ⇒ Object (readonly)
Returns the value of attribute cryptoff.
483 484 485 |
# File 'lib/pliney/macho.rb', line 483 def cryptoff @cryptoff end |
#cryptsize ⇒ Object (readonly)
Returns the value of attribute cryptsize.
483 484 485 |
# File 'lib/pliney/macho.rb', line 483 def cryptsize @cryptsize end |
Instance Method Details
#parse ⇒ Object
485 486 487 488 489 490 |
# File 'lib/pliney/macho.rb', line 485 def parse() super() @cryptoff = @fh.read_uint32le @cryptsize = @fh.read_uint32le @cryptid = @fh.read_uint32le end |