Class TypeEntry
java.lang.Object
de.inetsoftware.jwebassembly.binary.SectionEntry
de.inetsoftware.jwebassembly.binary.TypeEntry
- Direct Known Subclasses:
ArrayTypeEntry
,FunctionTypeEntry
,StructTypeEntry
An entry in the type section of the WebAssembly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
(package private) abstract ValueType
Get the form of the type.abstract int
hashCode()
(package private) final void
writeSectionEntry
(WasmOutputStream stream) Write this single entry to a section(package private) abstract void
Write this single entry to a section
-
Constructor Details
-
TypeEntry
TypeEntry()
-
-
Method Details
-
writeSectionEntry
Write this single entry to a section- Specified by:
writeSectionEntry
in classSectionEntry
- Parameters:
stream
- the target- Throws:
IOException
- if any I/O error occur
-
getTypeForm
Get the form of the type.- Returns:
- the form
-
writeSectionEntryDetails
Write this single entry to a section- Parameters:
stream
- the target- Throws:
IOException
- if any I/O error occur
-
hashCode
public abstract int hashCode() -
equals
-