(self, state)
Set the current state of the encoder. state must have been
        returned by getstate().
Set the current state of the encoder. state must have been
        returned by getstate().
Set the current state of the encoder . state must have been returned by getstate () .
def setstate(self, state):
        """
        Set the current state of the encoder. state must have been
        returned by getstate().
        """
def setstate ( self , state ) :