class MachO::Headers::FatArch64

64-bit fat binary header architecture structure. A 64-bit fat Mach-O has one or more of

these, indicating one or more internal Mach-O blobs.

@note “64-bit” indicates the fact that this structure stores 64-bit offsets, not that the

Mach-Os that it points to necessarily *are* 64-bit.

@see MachO::Headers::FatHeader

Public Instance Methods

serialize() click to toggle source

@return [String] the serialized fields of the fat arch

# File lib/macho/headers.rb, line 584
def serialize
  [cputype, cpusubtype, offset, size, align, reserved].pack(self.class.format)
end
to_h() click to toggle source

@return [Hash] a hash representation of this {FatArch64}

Calls superclass method MachO::Headers::FatArch#to_h
# File lib/macho/headers.rb, line 589
def to_h
  {
    "reserved" => reserved,
  }.merge super
end