Package com.arangodb.util
Class RawBytes
- java.lang.Object
-
- com.arangodb.util.RawBytes
-
- All Implemented Interfaces:
RawData<byte[]>
public final class RawBytes extends Object implements RawData<byte[]>
Helper class used to encapsulate raw value serialized as byte array. It can be used: - in serialization to append an already serialized raw value as is - in deserialization as target wrapper type for the raw valueNo validation is performed, the user is responsible for providing a valid byte array for the used content type.
The raw value byte array can represent either: - a valid VPack - a valid JSON UTF-8 encoded string
The driver's
InternalSerde
supports serializing and deserializing to and fromRawBytes
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
get()
int
hashCode()
static RawBytes
of(byte[] value)
-