public int putUTF8 ( String s ) { int written = putUTF8 ( _position , s ) ; _position += written ; return written ; }
Encodes the given string as UTF - 8 puts it into the buffer and increases the write position accordingly .