Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UnknownEntry that = (UnknownEntry) o;
if (content != null ? !content.equals(that.content) : that.content != null) {
return false;
}
return true;
|
public java.nio.ByteBuffer | get()
return content.duplicate();
|
public java.nio.ByteBuffer | getContent()
return content;
|
public int | hashCode()
return content != null ? content.hashCode() : 0;
|
public void | parse(java.nio.ByteBuffer byteBuffer)
this.content = (ByteBuffer) byteBuffer.duplicate().rewind();
|
public void | setContent(java.nio.ByteBuffer content)
this.content = (ByteBuffer) content.duplicate().rewind();
|
public java.lang.String | toString()
ByteBuffer bb = content.duplicate();
bb.rewind();
byte[] b = new byte[bb.limit()];
bb.get(b);
return "UnknownEntry{" +
"content=" + Hex.encodeHex(b) +
'}";
|