Class StructTypeEntry


  • class StructTypeEntry
    extends TypeEntry
    An struct type entry in the type section of the WebAssembly.
    • Constructor Detail

      • StructTypeEntry

        StructTypeEntry​(java.util.List<NamedStorageType> fields)
        Create a new instance.
        Parameters:
        fields - the fields of the struct
    • Method Detail

      • writeSectionEntryDetails

        void writeSectionEntryDetails​(WasmOutputStream stream)
                               throws java.io.IOException
        Write this single entry to a section
        Specified by:
        writeSectionEntryDetails in class TypeEntry
        Parameters:
        stream - the target
        Throws:
        java.io.IOException - if any I/O error occur
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in class TypeEntry