twisted.names.dns.Charstr(object)
class documentationtwisted.names.dns
View Source
(View In Hierarchy)
Implements interfaces: twisted.names.dns.IEncodable
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. |
Encode this Character string into the appropriate byte format.
Parameters | strio | The byte representation of this Charstr will be written to this file. (type: file) |
Decode a byte string into this Charstr.
Parameters | strio | Bytes will be read from this file until the full string is decoded. (type: file) |
Raises | EOFError | Raised when there are not enough bytes available from strio . |