Package ghidra.app.util.bin.format.omf.omf51

# Class Omf51LibraryModuleLocation

java.lang.Object
ghidra.app.util.bin.format.omf.omf51.Omf51LibraryModuleLocation

public class Omf51LibraryModuleLocation extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `BLOCK_SIZE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Omf51LibraryModuleLocation(BinaryReader reader)`
  Creates a new `Omf51LibraryModuleLocation`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getBlockNumber()`
  Returns the block number.
  `int`
  `getByteNumber()`
  Returns the byte number.
  `int`
  `getOffset()`
  Returns the offset into the library.
  `static DataType`
  `toDataType()`

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

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

- ## Field Details

  - ### BLOCK_SIZE

    public static final int BLOCK_SIZE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Omf51LibraryModuleLocation

    public Omf51LibraryModuleLocation(BinaryReader reader) throws IOException
    Creates a new `Omf51LibraryModuleLocation`
    Parameters:
      `reader` - A `BinaryReader` positioned at the start of the segment definition
    Throws:
      `IOException` - if an IO-related error occurred

- ## Method Details

  - ### getBlockNumber

    public int getBlockNumber()
    Returns the block number.
    Returns:
      the block number

  - ### getByteNumber

    public int getByteNumber()
    Returns the byte number.
    Returns:
      the byte number

  - ### getOffset

    public int getOffset()
    Returns the offset into the library.
    Returns:
      the offset into the library

  - ### toDataType

    public static DataType toDataType()