public static class SSU2Payload.FollowFragBlock extends SSU2Payload.Block
| Constructor and Description |
|---|
FollowFragBlock(OutboundMessageState msg,
int frag)Create a follow-on fragment block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the fragment data length including the 5 byte header. |
int | writeData(byte[] tgt,
int off)Write the follow-on fragment block data to the target array. |
getTotalLength, getType, toString, writepublic FollowFragBlock(OutboundMessageState msg, int frag)
msg - the outbound message statefrag - the fragment number (must be > 0)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