Class TypeEntry

java.lang.Object
de.inetsoftware.jwebassembly.binary.SectionEntry
de.inetsoftware.jwebassembly.binary.TypeEntry
Direct Known Subclasses:
ArrayTypeEntry, FunctionTypeEntry, StructTypeEntry

abstract class TypeEntry extends SectionEntry
An entry in the type section of the WebAssembly.
  • Constructor Details

    • TypeEntry

      TypeEntry()
  • Method Details

    • writeSectionEntry

      final void writeSectionEntry(WasmOutputStream stream) throws IOException
      Write this single entry to a section
      Specified by:
      writeSectionEntry in class SectionEntry
      Parameters:
      stream - the target
      Throws:
      IOException - if any I/O error occur
    • getTypeForm

      abstract ValueType getTypeForm()
      Get the form of the type.
      Returns:
      the form
    • writeSectionEntryDetails

      abstract void writeSectionEntryDetails(WasmOutputStream stream) throws IOException
      Write this single entry to a section
      Parameters:
      stream - the target
      Throws:
      IOException - if any I/O error occur
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public abstract boolean equals(Object obj)
      Overrides:
      equals in class Object