def __init__(self, stream, auto_flush=False):
self._stream = stream<EOL>self._auto_flush = auto_flush<EOL>
Instatiates new StreamWriter to the specified stream

Parameters
----------
stream io.RawIOBase
    Stream to wrap
auto_flush bool
    Whether to autoflush the stream upon writing