@Internal public final class PieceDescriptor extends java.lang.Object
Constructor and Description |
---|
PieceDescriptor(byte[] buf,
int offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getFilePosition() |
PropertyModifier |
getPrm() |
static int |
getSizeInBytes() |
int |
hashCode() |
boolean |
isUnicode() |
void |
setFilePosition(int pos) |
protected byte[] |
toByteArray() |
java.lang.String |
toString() |
public int getFilePosition()
public void setFilePosition(int pos)
public boolean isUnicode()
public PropertyModifier getPrm()
protected byte[] toByteArray()
public static int getSizeInBytes()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.