Package ghidra.app.util.bin.format.ubi

# Class FatArch

java.lang.Object
ghidra.app.util.bin.format.ubi.FatArch

public class FatArch extends Object
Represents a fat_arch structure.

See Also:
  - mach-o/fat.h

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FatArch(BinaryReader reader)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getAlign()`
  Returns the alignment as a power of 2.
  `int`
  `getCpuSubType()`
  `int`
  `getCpuType()`
  `int`
  `getOffset()`
  Returns the file offset to this object file.
  `int`
  `getSize()`
  Returns the size of this object file.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### FatArch

    public FatArch(BinaryReader reader) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### getCpuType

    public int getCpuType()
    See Also:
      - `CpuTypes`

  - ### getCpuSubType

    public int getCpuSubType()
    See Also:
      - `CpuSubTypes`

  - ### getOffset

    public int getOffset()
    Returns the file offset to this object file.
    Returns:
      the file offset to this object file

  - ### getSize

    public int getSize()
    Returns the size of this object file.
    Returns:
      the size of this object file

  - ### getAlign

    public int getAlign()
    Returns the alignment as a power of 2.
    Returns:
      the alignment as a power of 2

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`