Interface StructConverter

    • Field Detail

      • BYTE

        static final DataType BYTE
        Reusable BYTE datatype.
      • WORD

        static final DataType WORD
        Reusable WORD datatype.
      • DWORD

        static final DataType DWORD
        Reusable DWORD datatype.
      • QWORD

        static final DataType QWORD
        Reusable QWORD datatype.
      • ASCII

        static final DataType ASCII
        Reusable ASCII datatype.
      • STRING

        static final DataType STRING
        Reusable STRING datatype.
      • UTF8

        static final DataType UTF8
        Reusable UTF8 string datatype.
      • UTF16

        static final DataType UTF16
        Reusable UTF16 string datatype.
      • POINTER

        static final DataType POINTER
        Reusable POINTER datatype.
      • VOID

        static final DataType VOID
        Reusable VOID datatype.
      • IBO32

        static final DataType IBO32
        Reusable 32-bit image base offset datatype.
      • IBO64

        static final DataType IBO64
        Reusable 64-bit image base offset datatype.
    • Method Detail

      • toDataType

        DataType toDataType()
                     throws DuplicateNameException,
                            java.io.IOException
        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.

        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        java.io.IOException
        See Also:
        StructureDataType