createString
Encode the CharSequence s
in the buffer using UTF-8.
Return
The offset in the buffer where the encoded string starts.
Parameters
s
The CharSequence to encode.
Create a string in the buffer from an already encoded UTF-8 string in a ByteBuffer.
Return
The offset in the buffer where the encoded string starts.
Parameters
s
An already encoded UTF-8 string as a ByteBuffer
.