Class AppleSingleDouble
java.lang.Object
ghidra.app.util.bin.format.macos.asd.AppleSingleDouble
- All Implemented Interfaces:
StructConverter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
short
int
Returns a structure datatype representing the contents of the implementor of this interface.
-
Field Details
-
SINGLE_MAGIC_NUMBER
public static final int SINGLE_MAGIC_NUMBER- See Also:
-
DOUBLE_MAGIC_NUMBER
public static final int DOUBLE_MAGIC_NUMBER- See Also:
-
-
Constructor Details
-
AppleSingleDouble
- Throws:
IOException
MacException
-
-
Method Details
-
getMagicNumber
public int getMagicNumber() -
getVersionNumber
public int getVersionNumber() -
getFiller
public byte[] getFiller() -
getNumberOfEntries
public short getNumberOfEntries() -
getEntryList
-
toDataType
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- if an IO-related error occurs- See Also:
-