Implements interfaces: twisted.names.dns.IEncodable

No class docstring
Method __init__ Undocumented
Method encode Encode this Character string into the appropriate byte format.
Method decode Decode a byte string into this Charstr.
Method __eq__ Undocumented
Method __ne__ Undocumented
Method __hash__ Undocumented
Method __str__ Represent this Charstr instance by its string value.
def __init__(self, string=''):
Undocumented
def encode(self, strio, compDict=None):

Encode this Character string into the appropriate byte format.

ParametersstrioThe byte representation of this Charstr will be written to this file. (type: file)
def decode(self, strio, length=None):

Decode a byte string into this Charstr.

ParametersstrioBytes will be read from this file until the full string is decoded. (type: file)
RaisesEOFErrorRaised when there are not enough bytes available from strio.
def __eq__(self, other):
Undocumented
def __ne__(self, other):
Undocumented
def __hash__(self):
Undocumented
def __str__(self):

Represent this Charstr instance by its string value.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.