class Pliney::MachO::Reader
Attributes
fh[R]
startpos[R]
Public Class Methods
new(f)
click to toggle source
# File lib/pliney/macho.rb, line 144 def initialize(f) @fh = f @startpos = @fh.pos end
parse(f)
click to toggle source
# File lib/pliney/macho.rb, line 138 def self.parse(f) ob = new(f) ob.parse() return ob end
Public Instance Methods
parse()
click to toggle source
# File lib/pliney/macho.rb, line 149 def parse() @fh.pos = @startpos end
rewind()
click to toggle source
# File lib/pliney/macho.rb, line 153 def rewind() @fh.pos = @startpos end