Package com.dylibso.chicory.wasm.types
Class UnknownCustomSection
- java.lang.Object
-
- com.dylibso.chicory.wasm.types.Section
-
- com.dylibso.chicory.wasm.types.CustomSection
-
- com.dylibso.chicory.wasm.types.UnknownCustomSection
-
public final class UnknownCustomSection extends CustomSection
A custom section which is unknown to the parser.
-
-
Constructor Summary
Constructors Constructor Description UnknownCustomSection(String name, byte[] bytes)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]bytes()Stringname()
-
-
-
Constructor Detail
-
UnknownCustomSection
public UnknownCustomSection(String name, byte[] bytes)
Construct a new instance.- Parameters:
name- the name of the section (must not benull)bytes- the section contents (must not benull)
-
-
Method Detail
-
name
public String name()
- Specified by:
namein classCustomSection
-
bytes
public byte[] bytes()
-
-