public class UDPPacketReader.PeerTestReader extends UDPPacketReader.Reader
| Constructor and Description |
|---|
PeerTestReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
readIntroKey(byte[] target,
int targetOffset)
what Alice's intro key is (if known - if unknown, the key is INVALID_KEY)
|
void |
readIP(byte[] target,
int targetOffset)
what IP Alice is reachable on
|
int |
readIPSize() |
long |
readNonce() |
int |
readPort()
what IP Alice is reachable on
|
readExtendedOptionspublic long readNonce()
public int readIPSize()
public void readIP(byte[] target,
int targetOffset)
public int readPort()
public void readIntroKey(byte[] target,
int targetOffset)