vertx / io.vertx.reactivex.core.buffer / Buffer / appendString

appendString

open fun appendString(str: String, enc: String): Buffer

Appends the specified String to the end of the Buffer with the encoding as specified by enc.

The buffer will expand as necessary to accommodate any bytes written.

Returns a reference to this so multiple operations can be appended together.

Parameters

str -

enc -

Return

open fun appendString(str: String): Buffer

Appends the specified String str to the end of the Buffer with UTF-8 encoding.

The buffer will expand as necessary to accommodate any bytes written.

Returns a reference to this so multiple operations can be appended together

Parameters

str -

Return