Class LongNamesMember

  • All Implemented Interfaces:
    StructConverter

    public final class LongNamesMember
    extends java.lang.Object
    implements StructConverter
    A string table that contains the full filenames of COFF archive members who's actual filenames can not fit in the fixed-length name field.

    This string table is held in a special archive member named "//" and is usually one of the first members of the archive.

    With MS libs, this will typically be the 3rd member in the archive, right after the first and second "/" special members.

    • Method Detail

      • getFileOffset

        public long getFileOffset()
      • getStringAtOffset

        public java.lang.String getStringAtOffset​(ByteProvider provider,
                                                  long offset)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • toDataType

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