(self, bytesbuffer)
Initialise the stream.
Initialise the stream.
Initialise the stream .
def __init__(self, bytesbuffer):
        """Initialise the stream."""
        self._buffer = bytesbuffer
        # we need delegation rather than inheritance to allow pickling under Python 2
        StreamWrapper.__init__(self, io.BytesIO(bytesbuffer))
def __init__ ( self , bytesbuffer ) : self . _buffer = bytesbuffer # we need delegation rather than inheritance to allow pickling under Python 2 StreamWrapper . __init__ ( self , io . BytesIO ( bytesbuffer ) )