close

actual open 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 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 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 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.