Class ByteVector

java.lang.Object
javassist.bytecode.ByteVector
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Bytecode

class ByteVector extends Object implements Cloneable
  • Field Details

    • buffer

      private byte[] buffer
    • size

      private int size
  • Constructor Details

    • ByteVector

      public ByteVector()
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getSize

      public final int getSize()
    • copy

      public final byte[] copy()
    • read

      public int read(int offset)
    • write

      public void write(int offset, int value)
    • add

      public void add(int code)
    • add

      public void add(int b1, int b2)
    • add

      public void add(int b1, int b2, int b3, int b4)
    • addGap

      public void addGap(int length)