setDefaultEncoding

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

The writable.setDefaultEncoding() method sets the default encoding for a Writable stream.

Since

v0.11.15

Parameters

encoding

The new default encoding