public static class SSU2Payload.FirstFragBlock extends SSU2Payload.Block
| Constructor and Description |
|---|
FirstFragBlock(OutboundMessageState msg)Create a first fragment block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the fragment size including the 9 byte header. |
int | writeData(byte[] tgt,
int off)Write the first fragment block data to the target array. |
getTotalLength, getType, toString, writepublic FirstFragBlock(OutboundMessageState msg)
msg - the outbound message statepublic 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