Package ghidra.app.util.bin
Interface ByteArrayConverter
- All Known Implementing Classes:
BaseRelocation
,BaseRelocationDataDirectory
,BoundImportDescriptor
,BoundImportForwarderRef
,DebugDirectory
,ImportByName
,ImportDescriptor
,SectionHeader
,SecurityDataDirectory
,ThunkData
public interface ByteArrayConverter
An interface to convert from a object to a
byte array.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
toBytes
(DataConverter dc) Returns a byte array representing this implementor of this interface.
-
Method Details
-
toBytes
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:
IOException
- if an IO-related error occurs
-