Class ByteBufferMarshalledValue<T>

    • Constructor Detail

      • ByteBufferMarshalledValue

        public ByteBufferMarshalledValue​(T object,
                                         ByteBufferMarshaller marshaller)
        Constructs a marshalled value from the specified object and marshaller.
        Parameters:
        object - the wrapped object
        marshaller - a marshaller suitable for marshalling the specified object
      • ByteBufferMarshalledValue

        public ByteBufferMarshalledValue​(ByteBuffer buffer)
        Constructs a marshalled value from the specified byte buffer. This constructor is only public to facilitate marshallers of this object (from other packages). The byte buffer parameter must not be read outside the context of this object.
        Parameters:
        buffer - a byte buffer