Class ArrayTypeEntry
java.lang.Object
de.inetsoftware.jwebassembly.binary.SectionEntry
de.inetsoftware.jwebassembly.binary.TypeEntry
de.inetsoftware.jwebassembly.binary.ArrayTypeEntry
An array type entry in the type section of the WebAssembly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.inetsoftware.jwebassembly.binary.TypeEntry
writeSectionEntry
-
Field Details
-
field
-
-
Constructor Details
-
ArrayTypeEntry
ArrayTypeEntry(List<NamedStorageType> fields) Create a new instance.- Parameters:
fields
- the fields of the array
-
-
Method Details
-
getTypeForm
ValueType getTypeForm()Get the form of the type.- Specified by:
getTypeForm
in classTypeEntry
- Returns:
- the form
-
writeSectionEntryDetails
Write this single entry to a section- Specified by:
writeSectionEntryDetails
in classTypeEntry
- Parameters:
stream
- the target- Throws:
IOException
- if any I/O error occur
-
hashCode
public int hashCode() -
equals
-