Class ExportEntry
java.lang.Object
de.inetsoftware.jwebassembly.binary.SectionEntry
de.inetsoftware.jwebassembly.binary.ExportEntry
An entry in the function section of the WebAssembly.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExportEntry
(String name, ExternalKind kind, int id) Create an entry for the export section. -
Method Summary
Modifier and TypeMethodDescription(package private) void
writeSectionEntry
(WasmOutputStream stream) Write this single entry to a section
-
Field Details
-
name
-
kind
-
id
private int id
-
-
Constructor Details
-
ExportEntry
ExportEntry(String name, ExternalKind kind, int id) Create an entry for the export section. This section contains a mapping from the external index to the type signature index.- Parameters:
name
- the exported namekind
- the type of exported objectid
- the id inside the list of the related type
-
-
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
-