Class ByteSink

java.lang.Object
eu.bandm.tools.lljava.codec.ByteSink

public class ByteSink extends Object
  • Field Details

  • 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

      public void relocRelative16(int offset, LLJava.Block b)
    • relocRelative32

      public void relocRelative32(int offset, LLJava.Block b)
    • relocAbsolute16

      public void relocAbsolute16(LLJava.Block b)
    • refer

      public void refer(LLJava.Block b)
    • saveReferata

      public void saveReferata()
    • getOffset

      public int getOffset()