public abstract static class RatchetPayload.Block extends Object
| Constructor and Description |
|---|
Block(int ttype) |
| Modifier and Type | Method and Description |
|---|---|
abstract int | getDataLength()Get the data size of the block. |
int | getTotalLength()Get the total size of the block. |
String | toString() |
int | write(byte[] tgt,
int off) |
abstract int | writeData(byte[] tgt,
int off)Write the block data. |
public abstract int getDataLength()
public int getTotalLength()
public String toString()
public int write(byte[] tgt,
int off)public abstract int writeData(byte[] tgt,
int off)tgt - the target bufferoff - the offset