public final class PeerRequest
extends java.lang.Object
| Constructor and Description |
|---|
PeerRequest(peer_request r) |
| Modifier and Type | Method and Description |
|---|---|
int |
length()
The size of the range, in bytes.
|
int |
piece()
The index of the piece in which the range starts.
|
int |
start()
The offset within that piece where the range starts.
|
peer_request |
swig() |
java.lang.String |
toString() |
public PeerRequest(peer_request r)
public peer_request swig()
public int piece()
public int start()
public int length()
public java.lang.String toString()
toString in class java.lang.Object