Class Global
java.lang.Object
de.inetsoftware.jwebassembly.binary.SectionEntry
de.inetsoftware.jwebassembly.binary.Global
An entry in the global section of the WebAssembly.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) boolean
(package private) AnyType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
writeSectionEntry
(WasmOutputStream stream) Write this single entry to a section
-
Field Details
-
id
int id -
type
AnyType type -
mutability
boolean mutability
-
-
Constructor Details
-
Global
Global()
-
-
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
-