destroy

external fun destroy()(source)

Close the stream immediately, without flushing the internal buffer.