Performs a final flush() call, then marks the stream as closed, meaning no further data will be written to it.
See Implementation
Performs a final flush() call, then marks the stream as closed, meaning no further data will be written to it.