public static class RatchetPayload.OptionsBlock extends RatchetPayload.Block
| Constructor and Description |
|---|
OptionsBlock(byte[] options)Options bytes carried by this block. |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Data length of the block. |
int | writeData(byte[] tgt,
int off)Writes the block to the output buffer at the given offset. |
getTotalLength, toString, writepublic OptionsBlock(byte[] options)
options - the optionspublic int getDataLength()
getDataLength in class RatchetPayload.Blockpublic int writeData(byte[] tgt,
int off)writeData in class RatchetPayload.Blocktgt - the target bufferoff - the offset