public static class RatchetPayload.AckBlock extends RatchetPayload.Block
| Constructor and Description |
|---|
AckBlock(int keyID,
int n)Builds an ACK block for a single key ID and count. |
AckBlock(List<Integer> acks) |
| Modifier and Type | Method and Description |
|---|---|
int | getDataLength()Return the dataLength |
int | writeData(byte[] tgt,
int off)Write this block to the output buffer |
getTotalLength, toString, writepublic AckBlock(int keyID,
int n)public int getDataLength()
getDataLength in class RatchetPayload.Blockpublic int writeData(byte[] tgt,
int off)writeData in class RatchetPayload.Blocktgt - the target bufferoff - the offset