Class DataClayByteArray
- java.lang.Object
-
- es.bsc.dataclay.serialization.buffer.DataClayByteArray
-
public final class DataClayByteArray extends Object
This class is a wrapper to a byte array. Used for serialization of messages that need to deal with DataClayByteBuffer.
-
-
Constructor Summary
Constructors Constructor Description DataClayByteArray(byte[] theByteArray)
ConstructorDataClayByteArray(com.google.protobuf.ByteString thebyteString)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBuffer
getByteArray()
com.google.protobuf.ByteString
getByteString()
void
setByteString(com.google.protobuf.ByteString thebyteString)
String
toString()
-
-
-
Method Detail
-
getByteArray
public ByteBuffer getByteArray()
- Returns:
- the byteArray
-
getByteString
public com.google.protobuf.ByteString getByteString()
- Returns:
- the byteString
-
setByteString
public void setByteString(com.google.protobuf.ByteString thebyteString)
- Parameters:
thebyteString
- the byteString to set
-
-