Package eu.bandm.tools.lljava.codec
Class ByteSink
java.lang.Object
eu.bandm.tools.lljava.codec.ByteSink
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
pad32()
byte[]
pop()
void
push()
void
void
void
relocRelative16
(int offset, LLJava.Block b) void
relocRelative32
(int offset, LLJava.Block b) void
byte[]
void
write
(byte... bytes) void
write8
(int b) void
writeS16
(int n) void
writeU16
(int n) void
writeU32
(int n)
-
Field Details
-
state
ByteSink.State state
-
-
Constructor Details
-
ByteSink
public ByteSink()
-
-
Method Details
-
toByteArray
public byte[] toByteArray() -
push
public void push() -
pop
public byte[] pop() -
write8
public void write8(int b) -
writeU16
public void writeU16(int n) -
writeS16
public void writeS16(int n) -
writeU32
public void writeU32(int n) -
pad32
public void pad32() -
write
public void write(byte... bytes) -
relocRelative16
-
relocRelative32
-
relocAbsolute16
-
refer
-
saveReferata
public void saveReferata() -
getOffset
public int getOffset()
-