public class SessionTag extends SimpleDataStructure
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_LENGTH |
_data, _length| Constructor and Description |
|---|
SessionTag() |
SessionTag(boolean create) |
SessionTag(byte[] val) |
| Modifier and Type | Method and Description |
|---|---|
int |
length()
The legal length of the byte array in this data structure
|
calculateHash, equals, fromBase64, fromByteArray, getData, hashCode, readBytes, setData, toBase64, toByteArray, toString, writeBytesreadpublic static final int BYTE_LENGTH
public SessionTag()
public SessionTag(boolean create)
create - if true, instantiate the data array and fill it with random data.public SessionTag(byte[] val)
public int length()
SimpleDataStructurelength in class SimpleDataStructure