Package javassist.bytecode
Class ByteVector
- java.lang.Object
-
- javassist.bytecode.ByteVector
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
Bytecode
class ByteVector extends java.lang.Object implements java.lang.Cloneable
-
-
Constructor Summary
Constructors Constructor Description ByteVector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int code)
void
add(int b1, int b2)
void
add(int b1, int b2, int b3, int b4)
void
addGap(int length)
java.lang.Object
clone()
byte[]
copy()
int
getSize()
int
read(int offset)
void
write(int offset, int value)
-
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classjava.lang.Object
- Throws:
java.lang.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)
-
-