All Packages Class Hierarchy This Package Previous Next Index
Class ants.ByteArray
java.lang.Object
|
+----ants.ByteArray
- public class ByteArray
- extends Object
-
buf
-
-
len
-
-
offset
-
-
ByteArray(byte[])
-
-
ByteArray(byte[], int)
-
-
ByteArray(byte[], int, int)
-
-
ByteArray(ByteArray, int)
-
-
ByteArray(ByteArray, int, int)
-
-
ByteArray(int)
-
-
getByte(int)
-
-
getBytes(int, byte[], int, int)
-
-
length()
-
-
setByte(int, byte)
-
-
setBytes(int, byte[], int, int)
-
-
setBytes(int, ByteArray, int, int)
-
-
toBytes()
-
buf
public byte buf[]
offset
public int offset
len
public int len
ByteArray
public ByteArray(int len)
ByteArray
public ByteArray(byte buf[])
ByteArray
public ByteArray(byte buf[],
int offset)
ByteArray
public ByteArray(byte buf[],
int offset,
int len) throws IndexOutOfBoundsException
ByteArray
public ByteArray(ByteArray parent,
int offset)
ByteArray
public ByteArray(ByteArray parent,
int offset,
int len) throws IndexOutOfBoundsException
length
public final int length()
getByte
public final byte getByte(int index) throws IndexOutOfBoundsException
setByte
public final void setByte(int index,
byte val) throws IndexOutOfBoundsException
getBytes
public final void getBytes(int srcBegin,
byte dst[],
int dstBegin,
int length)
setBytes
public final void setBytes(int dstBegin,
byte src[],
int srcBegin,
int length)
setBytes
public final void setBytes(int dstBegin,
ByteArray src,
int srcBegin,
int length)
toBytes
public final byte[] toBytes()
All Packages Class Hierarchy This Package Previous Next Index