Package com.arangodb.util
Class RawBytes
java.lang.Object
com.arangodb.util.RawBytes
- All Implemented Interfaces:
RawData
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 value
No 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 from
RawBytes
.
-
Method Summary