public abstract static class NTCP2Payload.Block extends Object
| Constructor and Description |
|---|
Block(int ttype)Block. |
| Modifier and Type | Method and Description |
|---|---|
abstract int | getDataLength() |
int | getTotalLength() |
String | toString()toString. |
int | write(byte[] tgt,
int off)Write the block to the target array, returning the new offset |
abstract int | writeData(byte[] tgt,
int off)Write the block data to the target array, returning the new offset |
public abstract int getDataLength()
public int getTotalLength()
public int write(byte[] tgt,
int off)public abstract int writeData(byte[] tgt,
int off)