Class ImportFunction
- java.lang.Object
-
- de.inetsoftware.jwebassembly.binary.SectionEntry
-
- de.inetsoftware.jwebassembly.binary.Function
-
- de.inetsoftware.jwebassembly.binary.ImportFunction
-
class ImportFunction extends Function
An entry in the import section of the WebAssembly.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringmodule(package private) java.lang.Stringname-
Fields inherited from class de.inetsoftware.jwebassembly.binary.Function
functionsStream, id, paramNames, sourceMappings, typeId
-
-
Constructor Summary
Constructors Constructor Description ImportFunction(java.lang.String module, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidwriteSectionEntry(WasmOutputStream stream)Write this single entry to a section-
Methods inherited from class de.inetsoftware.jwebassembly.binary.Function
addCodeOffset, markCodePosition
-
-
-
-
Method Detail
-
writeSectionEntry
void writeSectionEntry(WasmOutputStream stream) throws java.io.IOException
Write this single entry to a section- Overrides:
writeSectionEntryin classFunction- Parameters:
stream- the target- Throws:
java.io.IOException- if any I/O error occur
-
-