ByteBuf.writeCharSequence

Writes the specified {@link CharSequence} at the current {@code writerIndex} and increases the {@code writerIndex} by the written bytes. in this buffer. If {@code this.writableBytes} is not large enough to write the whole sequence, {@link #ensureWritable(int)} will be called in an attempt to expand capacity to accommodate.

@param sequence to write @param charset that should be used @return the written number of bytes

class ByteBuf
abstract
int
writeCharSequence

Meta