close

actual open suspend override fun close()(source)

Closes the encoder, ensuring all data is written. Closing the encoder also closes the underlying sink.

Throws

If an I/O error occurs.

actual open suspend override fun close()(source)

Closes the encoder, ensuring all data is written. Closing the encoder also closes the underlying sink.

Throws

If an I/O error occurs.

actual open suspend override fun close()(source)

Closes the encoder, ensuring all data is written. Closing the encoder also closes the underlying sink.

Throws

If an I/O error occurs.

expect open suspend override fun close()(source)

Closes the encoder, ensuring all data is written. Closing the encoder also closes the underlying sink.

Throws

If an I/O error occurs.