All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ants.ByteArray

java.lang.Object
   |
   +----ants.ByteArray

public class ByteArray
extends Object

Variable Index

 o buf
 o len
 o offset

Constructor Index

 o ByteArray(byte[])
 o ByteArray(byte[], int)
 o ByteArray(byte[], int, int)
 o ByteArray(ByteArray, int)
 o ByteArray(ByteArray, int, int)
 o ByteArray(int)

Method Index

 o getByte(int)
 o getBytes(int, byte[], int, int)
 o length()
 o setByte(int, byte)
 o setBytes(int, byte[], int, int)
 o setBytes(int, ByteArray, int, int)
 o toBytes()

Variables

 o buf
 public byte buf[]
 o offset
 public int offset
 o len
 public int len

Constructors

 o ByteArray
 public ByteArray(int len)
 o ByteArray
 public ByteArray(byte buf[])
 o ByteArray
 public ByteArray(byte buf[],
                  int offset)
 o ByteArray
 public ByteArray(byte buf[],
                  int offset,
                  int len) throws IndexOutOfBoundsException
 o ByteArray
 public ByteArray(ByteArray parent,
                  int offset)
 o ByteArray
 public ByteArray(ByteArray parent,
                  int offset,
                  int len) throws IndexOutOfBoundsException

Methods

 o length
 public final int length()
 o getByte
 public final byte getByte(int index) throws IndexOutOfBoundsException
 o setByte
 public final void setByte(int index,
                           byte val) throws IndexOutOfBoundsException
 o getBytes
 public final void getBytes(int srcBegin,
                            byte dst[],
                            int dstBegin,
                            int length)
 o setBytes
 public final void setBytes(int dstBegin,
                            byte src[],
                            int srcBegin,
                            int length)
 o setBytes
 public final void setBytes(int dstBegin,
                            ByteArray src,
                            int srcBegin,
                            int length)
 o toBytes
 public final byte[] toBytes()

All Packages  Class Hierarchy  This Package  Previous  Next  Index