public static class NTCP2Payload.I2NPBlock extends NTCP2Payload.Block
| Constructor and Description |
|---|
I2NPBlock(I2NPMessage msg)I2NPBlock. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()The data length of this block. |
(package private) void | setMessage(I2NPMessage msg)Set the message, for reuse of a pooled block. |
int | writeData(byte[] tgt,
int off)Write the block data to the target array. |
getTotalLength, toString, writepublic I2NPBlock(I2NPMessage msg)
public int getDataLength()
getDataLength in class NTCP2Payload.Blockvoid setMessage(I2NPMessage msg)
public int writeData(byte[] tgt,
int off)writeData in class NTCP2Payload.Block