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 Type
    Method
    Description
    byte[]
    Returns a byte array representing this implementor of this interface.
  • Method Details

    • toBytes

      byte[] toBytes(DataConverter dc) throws 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:
      IOException