setEncoding

open override fun setEncoding(encoding: BufferEncoding)(source)

Set the encoding for the socket as a Readable Stream. See readable.setEncoding() for more information.

Since

v0.1.90

Return

The socket itself.