Package ghidra.app.util.bin.format.omf
Class OmfIteratedData.DataBlock
java.lang.Object
ghidra.app.util.bin.format.omf.OmfIteratedData.DataBlock
- Enclosing class:
- OmfIteratedData
Contain the definition of one part of a datablock with possible recursion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
fillBuffer
(byte[] buffer, int pos) Fill part of the bufferint
boolean
static OmfIteratedData.DataBlock
read
(BinaryReader reader, boolean hasBigFields)
-
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 fillpos
- 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
-