public class ByteArray
extends java.lang.Object
Constructor and Description |
---|
ByteArray()
Creates a new instance of ByteArray
|
Modifier and Type | Method and Description |
---|---|
void |
add(byte b)
Add a byte to the byte array.
|
byte[] |
getBytes()
Get the array of bytes.
|
java.lang.String |
getStringFromBytes()
Get the String representation of bytes in this array.
|
void |
reset()
Reset the byte array to zero length.
|
public void add(byte b)
public byte[] getBytes()
public java.lang.String getStringFromBytes()
public void reset()
Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.