public int writeUTF8(final CharSequence chars){
  return writeUTF8(chars,0,chars.length());
}

public int writeUTF8 ( final CharSequence chars ) { return writeUTF8 ( chars , 0 , chars . length ( ) ) ; }
returns the number of octets written .
