Implements interfaces: twisted.names.dns.IEncodable

Undocumented
Method __init__ Undocumented
Instance Variable string 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=""""""): (source)
Undocumented
string =
Undocumented
def encode(self, strio, compDict=None): (source)

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): (source)

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): (source)
Undocumented
def __ne__(self, other): (source)
Undocumented
def __hash__(self): (source)
Undocumented
def __str__(self): (source)

Represent this Charstr instance by its string value.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.