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 voidadd(int code)voidadd(int b1, int b2)voidadd(int b1, int b2, int b3, int b4)voidaddGap(int length)java.lang.Objectclone()byte[]copy()intgetSize()intread(int offset)voidwrite(int offset, int value)
-
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein 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)
-
-