Class BinaryWriter.Writer

java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryWriter.Writer
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
BinaryWriter.BlockWriter, BinaryWriter.SectionWriter
Enclosing class:
BinaryWriter

public abstract class BinaryWriter.Writer extends Object implements AutoCloseable
  • Field Details

  • Constructor Details

    • Writer

      protected Writer(OutputStream flushTarget, int offset)
  • Method Details

    • blockWriter

      public BinaryWriter.BlockWriter blockWriter()
    • writeByte

      public void writeByte(byte value)
    • writeUnsignedLeb128

      public void writeUnsignedLeb128(int value) throws IOException
      Throws:
      IOException
    • writeSignedLeb128

      public void writeSignedLeb128(int value) throws IOException
      Throws:
      IOException
    • writeSignedLeb128

      public void writeSignedLeb128(long value) throws IOException
      Throws:
      IOException
    • writeUTF8

      public void writeUTF8(String value) throws IOException
      Throws:
      IOException
    • writeFloat32

      public void writeFloat32(float value)
    • writeDouble64

      public void writeDouble64(double value)
    • writeInteger32

      public void writeInteger32(int value)
    • writeLong64

      public void writeLong64(long value)