Fat binary header architecture structure. A Fat binary has one or more of these, representing one or more internal Mach-O blobs. @see MachO::Headers::FatHeader
always big-endian @see MachOStructure::FORMAT @api private
@see MachOStructure::SIZEOF @api private
@return [Fixnum] the alignment, as a power of 2
@return [Fixnum] the CPU subtype of the Mach-O
@return [Fixnum] the CPU type of the Mach-O
@return [Fixnum] the file offset to the beginning of the Mach-O data
@return [Fixnum] the size, in bytes, of the Mach-O data
@api private
# File lib/macho/headers.rb, line 509 def initialize(cputype, cpusubtype, offset, size, align) @cputype = cputype @cpusubtype = cpusubtype @offset = offset @size = size @align = align end
@return [String] the serialized fields of the fat arch
# File lib/macho/headers.rb, line 518 def serialize [cputype, cpusubtype, offset, size, align].pack(FORMAT) end