createByteVector
Create a byte array in the buffer.
Return
The offset in the buffer where the encoded array starts.
Parameters
arr
A source array with data
Create a byte array in the buffer.
Return
The offset in the buffer where the encoded array starts.
Parameters
arr
a source array with data.
offset
the offset in the source array to start copying from.
length
the number of bytes to copy from the source array.
Create a byte array in the buffer.
The source ReadBuffer position is advanced until ReadBuffer.limit after this call.
Return
The offset in the buffer where the encoded array starts.
Parameters
data
A source ReadBuffer with data.