open fun close(): Unit
Closing a ByteArrayOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException.
IOException
- never (this method should not declare this exception but it has to now due to backwards compatability)