Class: MachO::MachOStructure
- Inherits:
-
Object
- Object
- MachO::MachOStructure
- Defined in:
- lib/macho/structure.rb
Overview
general purpose pseudo-structure
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.bytesize ⇒ Object
7 8 9 |
# File 'lib/macho/structure.rb', line 7 def self.bytesize @sizeof end |
.new_from_bin(bin) ⇒ Object
11 12 13 |
# File 'lib/macho/structure.rb', line 11 def self.new_from_bin(bin) self.new(*bin.unpack(@format)) end |