public static class SSU2Payload.RelayTagBlock extends SSU2Payload.Block
| Constructor and Description |
|---|
RelayTagBlock(long tag)Create a relay tag block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the 4 byte relay tag data length. |
int | writeData(byte[] tgt,
int off)Write the relay tag block data to the target array. |
getTotalLength, getType, toString, writepublic RelayTagBlock(long tag)
tag - the relay tag valuepublic 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