Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DecoderSpecificInfo that = (DecoderSpecificInfo) o;
if (!Arrays.equals(bytes, that.bytes)) {
return false;
}
return true;
|
public int | hashCode()
return bytes != null ? Arrays.hashCode(bytes) : 0;
|
public void | parseDetail(java.nio.ByteBuffer bb)
if (sizeOfInstance > 0) {
bytes = new byte[sizeOfInstance];
bb.get(bytes);
}
|
public java.nio.ByteBuffer | serialize()
ByteBuffer out = ByteBuffer.wrap(bytes);
return out;
|
public int | serializedSize()
return bytes.length;
|
public java.lang.String | toString()
final StringBuilder sb = new StringBuilder();
sb.append("DecoderSpecificInfo");
sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
sb.append('}");
return sb.toString();
|