Package ghidra.app.util.opinion

# Class IntelHexRecordWriter

java.lang.Object
ghidra.app.util.opinion.IntelHexRecordWriter

public class IntelHexRecordWriter extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IntelHexRecordWriter(int maxBytesPerLine, boolean dropExtraBytes)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addByte(Address address, byte b)`
  `List<IntelHexRecord>`
  `finish(Address entryPoint)`

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

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

- ## Constructor Details

  - ### IntelHexRecordWriter

    public IntelHexRecordWriter(int maxBytesPerLine, boolean dropExtraBytes)
    Constructor
    Parameters:
      `maxBytesPerLine` - the maximum number of bytes to write per line in the hex output
      `dropExtraBytes` - if true, only lines matching `maxBytesPerLine` will be output; remaining bytes will be left out

- ## Method Details

  - ### addByte

    public void addByte(Address address, byte b)

  - ### finish

    public List<IntelHexRecord> finish(Address entryPoint)