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

# Class OmfIteratedData.DataBlock

java.lang.Object
ghidra.app.util.bin.format.omf.omf.OmfIteratedData.DataBlock

Enclosing class:
  `OmfIteratedData`

public static class OmfIteratedData.DataBlock extends Object
Contain the definition of one part of a datablock with possible recursion

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataBlock()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `fillBuffer(byte[] buffer, int pos)`
  Fill part of the buffer
  `int`
  `getLength()`
  `boolean`
  `isAllZeroes()`
  `static OmfIteratedData.DataBlock`
  `read(BinaryReader reader, boolean hasBigFields)`

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

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

- ## Constructor Details

  - ### DataBlock

    public DataBlock()

- ## Method Details

  - ### read

    public static OmfIteratedData.DataBlock read(BinaryReader reader, boolean hasBigFields) throws IOException
    Throws:
      `IOException`

  - ### fillBuffer

    public int fillBuffer(byte[] buffer, int pos)
    Fill part of the buffer
    Parameters:
      `buffer` - The buffer to fill
      `pos` - The next position to fill
    Returns:
      The position after the block

  - ### getLength

    public int getLength()
    Returns:
      The length of this block

  - ### isAllZeroes

    public boolean isAllZeroes()
    Returns:
      true if this DataBlock only represents zero bytes