MsetDefaultEncoding
Bun

method

crypto.CipherChaCha20Poly1305.setDefaultEncoding

encoding: BufferEncoding
): this;

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

@param encoding

The new default encoding