Performs a final flush() call, then marks the stream as closed, meaning no further data will be written to it.
Writes what is currently in the buffer to the target and waits for the target to accept it. Please note: if you are subclassing this to go to a different target
Returns true if either you closed it or if the receiving end closed their side, indicating they don't want any more data.
A class to help write a stream of binary data to some target.
NOT YET FUNCTIONAL