Package co.nstant.in.cbor.model
Class ByteString
- java.lang.Object
-
- co.nstant.in.cbor.model.DataItem
-
- co.nstant.in.cbor.model.ByteString
-
public class ByteString extends DataItem
-
-
Constructor Summary
Constructors Constructor Description ByteString(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
byte[]
getBytes()
int
hashCode()
boolean
isChunked()
co.nstant.in.cbor.model.ChunkableDataItem
setChunked(boolean chunked)
-
Methods inherited from class co.nstant.in.cbor.model.DataItem
assertTrue, getMajorType, getOuterTaggable, getTag, hasTag, removeTag, setTag, setTag
-
-
-
-
Method Detail
-
getBytes
public byte[] getBytes()
-
equals
public boolean equals(Object object)
-
hashCode
public int hashCode()
-
isChunked
public boolean isChunked()
-
setChunked
public co.nstant.in.cbor.model.ChunkableDataItem setChunked(boolean chunked)
-
-