| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Dynamic byte array.
Constructor Summary | |
ByteArray() Initializes the ByteArray with size 100 | |
ByteArray(int init_size) Initialized the ByteArray with given size |
Method Summary | |
ByteArray | add(byte b) Add a byte to this array. |
ByteArray | add(byte[] b, int len) Add a array of bytes to this array |
ByteArray | add(ByteArray b) Add a ByteArray to this array |
ByteArray | addToPos(byte b, int pos) Add a byte to this array is specified position. |
byte[] | get() Returns this array |
int | length() Returns the lenght of this array |
void | reset() Clear this array |
Constructor Detail |
public ByteArray()
public ByteArray(int init_size)
Method Detail |
public ByteArray add(byte b)
public ByteArray add(byte[] b, int len)
public ByteArray add(ByteArray b)
public ByteArray addToPos(byte b, int pos)
public byte[] get()
public int length()
public void reset()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |