Package ghidra.program.model.data
Class CustomFormat
- java.lang.Object
-
- ghidra.program.model.data.CustomFormat
-
public class CustomFormat extends java.lang.Object
Container object for a DataType and a byte array that is the format for the data type.
-
-
Constructor Summary
Constructors Constructor Description CustomFormat(DataType dataType, byte[] format)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Get the bytes that define this format.DataType
getDataType()
Get the data type associated with this format.
-
-
-
Constructor Detail
-
CustomFormat
public CustomFormat(DataType dataType, byte[] format)
Constructor- Parameters:
dataType
- data type associated with this formatformat
- bytes that define the format
-
-
Method Detail
-
getDataType
public DataType getDataType()
Get the data type associated with this format.
-
getBytes
public byte[] getBytes()
Get the bytes that define this format.
-
-