def __init__(self, stream, errors='<STR_LIT:strict>'):
self.stream = stream<EOL>self.errors = errors<EOL>self.bytebuffer = "<STR_LIT>"<EOL>self.charbuffer = "<STR_LIT>"<EOL>self.linebuffer = None<EOL>
Creates a StreamReader instance.

            stream must be a file-like object open for reading
            (binary) data.

            The StreamReader may use different error handling
            schemes by providing the errors keyword argument. These
            parameters are predefined:

             'strict' - raise a ValueError (or a subclass)
             'ignore' - ignore the character and continue with the next
             'replace'- replace with a suitable replacement character;

            The set of allowed parameter values can be extended via
            register_error.