public class ByteArray extends 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.
|
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 String getStringFromBytes()
public void reset()
Copyright © 2016. All rights reserved.