Package ghidra.app.util.bin
Interface ByteArrayConverter
-
- All Known Implementing Classes:
BaseRelocation,BaseRelocationDataDirectory,BoundImportDescriptor,BoundImportForwarderRef,DebugDirectory,ElfDynamic,ElfRelocation,ElfRelocationTable,ElfSymbol,ElfSymbolTable,ImportByName,ImportDescriptor,SectionHeader,SecurityDataDirectory,ThunkData
public interface ByteArrayConverterAn interface to convert from a object to a byte array.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]toBytes(DataConverter dc)Returns a byte array representing this implementor of this interface.
-
-
-
Method Detail
-
toBytes
byte[] toBytes(DataConverter dc) throws java.io.IOException
Returns a byte array representing this implementor of this interface.- Parameters:
dc- the data converter to use- Returns:
- a byte array representing this object
- Throws:
java.io.IOException
-
-