public final class Bytedata
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
Bytedata(byte[] data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a copy of this object.
|
boolean |
equals(java.lang.Object obj)
Returns true if
obj is equal to this object. |
byte[] |
getData()
Returns the data held.
|
int |
getSize()
Returns the size of the data in bytes.
|
int |
hashCode() |
void |
setData(byte[] data)
Sets the data to be held.
|
java.lang.String |
toString()
Returns a String representation of this object.
|
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
obj
is equal to this object.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public byte[] getData()
public int getSize()
public void setData(byte[] data)
public java.lang.String toString()
toString
in class java.lang.Object