Class 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 Detail

      • DataClayByteArray

        public DataClayByteArray​(com.google.protobuf.ByteString thebyteString)
        Constructor
        Parameters:
        thebyteString - The byte array
      • DataClayByteArray

        public DataClayByteArray​(byte[] theByteArray)
        Constructor
        Parameters:
        theByteArray - The byte array
    • 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