Class BinaryConstant
java.lang.Object
org.apache.commons.imaging.common.BinaryConstant
-
Field Details
-
value
private final byte[] value
-
-
Constructor Details
-
BinaryConstant
public BinaryConstant(byte[] value)
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
equals
-
equals
public boolean equals(byte[] bytes) -
equals
public boolean equals(byte[] bytes, int offset, int length) -
hashCode
public int hashCode() -
get
public byte get(int i) -
size
public int size() -
toByteArray
public byte[] toByteArray() -
writeTo
- Throws:
IOException
-