public abstract class BinaryWriter.Writer extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
protected class |
BinaryWriter.Writer.DebugInfo |
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
bos |
protected OutputStream |
flushTarget |
protected int |
offset |
| Modifier | Constructor and Description |
|---|---|
protected |
Writer(OutputStream flushTarget,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
BinaryWriter.BlockWriter |
blockWriter() |
void |
registerDebugInformationFor(Expression aExpression) |
void |
writeByte(byte value) |
void |
writeFloat32(float value) |
void |
writeInteger32(int value) |
void |
writeSignedLeb128(int value) |
void |
writeUnsignedLeb128(int value) |
void |
writeUTF8(String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected final OutputStream flushTarget
protected final ByteArrayOutputStream bos
protected final int offset
protected Writer(OutputStream flushTarget, int offset)
public BinaryWriter.BlockWriter blockWriter()
public void writeByte(byte value)
public void writeUnsignedLeb128(int value)
throws IOException
IOExceptionpublic void writeSignedLeb128(int value)
throws IOException
IOExceptionpublic void writeUTF8(String value) throws IOException
IOExceptionpublic void writeFloat32(float value)
public void writeInteger32(int value)
public void registerDebugInformationFor(Expression aExpression)
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.