t.c.s.t._Counter : class documentation

Part of twisted.conch.ssh.transport View Source View In Hierarchy

Stateful counter which returns results packed in a byte string
Method __init__ No summary
Method __call__ Increment the counter and return the new value.
def __init__(self, initialVector, blockSize): (source)
ParametersinitialVectorA byte string representing the initial counter value. (type: str )
blockSizeThe length of the output buffer, as well as the number of bytes at the beginning of initialVector to consider. (type: int )
def __call__(self): (source)
Increment the counter and return the new value.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.