public class PieceDescriptor
extends java.lang.Object
| Constructor and Description |
|---|
PieceDescriptor() |
PieceDescriptor(byte[] buf,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getFilePosition() |
static int |
getSizeInBytes() |
boolean |
isUnicode() |
void |
setFilePosition(int pos) |
void |
setUnicode(boolean b) |
protected byte[] |
toByteArray() |
public PieceDescriptor(byte[] buf,
int offset)
public PieceDescriptor()
public int getFilePosition()
public void setFilePosition(int pos)
public boolean isUnicode()
protected byte[] toByteArray()
public static int getSizeInBytes()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void setUnicode(boolean b)