public static class SSU2Payload.RelayRequestBlock extends SSU2Payload.Block
| Constructor and Description |
|---|
RelayRequestBlock(byte[] data)Create a relay request block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the relay request data length. |
int | writeData(byte[] tgt,
int off)Write the relay request block data to the target array. |
getTotalLength, getType, toString, writepublic RelayRequestBlock(byte[] data)
data - the relay request data (excludes flag, includes signature)public int getDataLength()
getDataLength in class SSU2Payload.Blockpublic int writeData(byte[] tgt,
int off)writeData in class SSU2Payload.Blocktgt - target array to write tooff - offset in the target array