class MsgID extends ByteArray
| Constructor and Description |
|---|
MsgID(byte[] data)Create an incoming message ID from received data. |
MsgID(I2PAppContext ctx)Create an outgoing message ID with a random value. |
public MsgID(byte[] data)
data - the message ID bytesIllegalArgumentException - if data exceeds maximum lengthpublic MsgID(I2PAppContext ctx)
ctx - the I2P application context for random number generation