Class OmfEnumeratedData

All Implemented Interfaces:
Comparable<OmfData>

public class OmfEnumeratedData extends OmfData
  • Constructor Details

  • Method Details

    • getLength

      public int getLength()
      Specified by:
      getLength in class OmfData
      Returns:
      the length of this data in bytes
    • getByteArray

      public byte[] getByteArray(BinaryReader reader) throws IOException
      Description copied from class: OmfData
      Create a byte array holding the data represented by this object. The length of the byte array should exactly match the value returned by getLength()
      Specified by:
      getByteArray in class OmfData
      Parameters:
      reader - is for pulling bytes directly from the binary image
      Returns:
      allocated and filled byte array
      Throws:
      IOException - for problems accessing data through the reader
    • isAllZeroes

      public boolean isAllZeroes()
      Specified by:
      isAllZeroes in class OmfData
      Returns:
      true if this is a block entirely of zeroes