public static class SSU2Payload.OptionsBlock extends SSU2Payload.Block
| Constructor and Description |
|---|
OptionsBlock(byte[] options)Create an options block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the options data length. |
int | writeData(byte[] tgt,
int off)Write the options block data to the target array. |
getTotalLength, getType, toString, writepublic OptionsBlock(byte[] options)
options - the option datapublic 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