Class BinaryWriter.SectionWriter
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.Writer
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.SectionWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- BinaryWriter
public class BinaryWriter.SectionWriter extends BinaryWriter.Writer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.Writer
BinaryWriter.Writer.DebugInfo
-
-
Field Summary
Fields Modifier and Type Field Description private byte
sectionCode
-
Fields inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.Writer
bos, flushTarget, offset
-
-
Constructor Summary
Constructors Constructor Description SectionWriter(byte sectionCode, java.io.OutputStream flushTarget, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
BinaryWriter.SectionWriter
subSection(byte subSectionCode)
-
Methods inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.Writer
blockWriter, writeByte, writeDouble64, writeFloat32, writeInteger32, writeLong64, writeSignedLeb128, writeSignedLeb128, writeUnsignedLeb128, writeUTF8
-
-
-
-
Method Detail
-
subSection
public BinaryWriter.SectionWriter subSection(byte subSectionCode)
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-