net.i2p.data
Class SessionTag
java.lang.Object
net.i2p.data.ByteArray
net.i2p.data.SessionTag
- All Implemented Interfaces:
- Serializable, Comparable
public class SessionTag
- extends ByteArray
- See Also:
- Serialized Form
BYTE_LENGTH
public static final int BYTE_LENGTH
- See Also:
- Constant Field Values
SessionTag
public SessionTag()
SessionTag
public SessionTag(boolean create)
SessionTag
public SessionTag(byte[] val)
setData
public void setData(byte[] val)
throws IllegalArgumentException
- Overrides:
setData
in class ByteArray
- Throws:
IllegalArgumentException
readBytes
public void readBytes(InputStream in)
throws DataFormatException,
IOException
- Throws:
DataFormatException
IOException
writeBytes
public void writeBytes(OutputStream out)
throws DataFormatException,
IOException
- Throws:
DataFormatException
IOException
toString
public String toString()
- Overrides:
toString
in class ByteArray