Package javassist.bytecode
Class ByteVector
java.lang.Object
javassist.bytecode.ByteVector
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Bytecode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
buffer
private byte[] buffer -
size
private int size
-
-
Constructor Details
-
ByteVector
public ByteVector()
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- 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)
-