Writes the specified {@link CharSequence} at the current {@code writerIndex} and increases
the {@code writerIndex} by the written bytes.
@param index on which the sequence should be written
@param sequence to write
@param charset that should be used.
@return the written number of bytes.
@throws IndexOutOfBoundsException
if {@code this.writableBytes} is not large enough to write the whole sequence
Writes the specified {@link CharSequence} at the current {@code writerIndex} and increases the {@code writerIndex} by the written bytes.
@param index on which the sequence should be written @param sequence to write @param charset that should be used. @return the written number of bytes. @throws IndexOutOfBoundsException if {@code this.writableBytes} is not large enough to write the whole sequence