RawValue¶
-
public class
RawValue
implements Value¶ A
Value
containing aByteBuffer
.
Constructors¶
RawValue¶
-
public
RawValue
(ByteBuffer buf)¶ Creates a RawValue containing a
ByteBuffer
.Parameters: - buf – the bytes buffer.
Methods¶
encode¶
-
public ByteBuffer
encode
()¶
getBuffer¶
-
public ByteBuffer
getBuffer
()¶ Returns the
ByteBuffer
from this RawValueReturns: the bytes buffer.