module documentation
(source)

Basic protocols, such as line-oriented, netstring, and int prefixed strings.
Class ​File​Sender A producer that sends the contents of a file to a consumer.
Class ​Incomplete​Netstring Not enough data to complete a netstring.
Class ​Int16​String​Receiver A receiver for int16-prefixed strings.
Class ​Int32​String​Receiver A receiver for int32-prefixed strings.
Class ​Int8​String​Receiver A receiver for int8-prefixed strings.
Class ​Int​NString​Receiver Generic class for length prefixed protocols.
Class ​Line​Only​Receiver A protocol that receives only lines.
Class ​Line​Receiver A protocol that receives lines and/or raw data, depending on mode.
Class ​Netstring​Parse​Error The incoming data is not in valid Netstring format.
Class ​Netstring​Receiver A protocol that sends and receives netstrings.
Class ​Stateful​String​Protocol A stateful string protocol.
Class ​String​Too​Long​Error Raised when trying to send a string too long for a length prefixed protocol.
Constant DEBUG Undocumented
Class _​Pauseable​Mixin Undocumented
Class _​Recvd​Compat​Hack Emulates the to-be-deprecated IntNStringReceiver.recvd attribute.
Function _format​Netstring Convert some bytes into netstring format.
DEBUG: int = (source)

Undocumented

Value
0
def _formatNetstring(data): (source)
Convert some bytes into netstring format.
Parameters
databytes that will be reformatted.