| Method | __eq__ |
Undocumented |
| Method | __hash__ |
Undocumented |
| Method | __init__ |
|
| Method | __str__ |
Represent this Name instance by its string name. |
| Method | decode |
Decode a byte string into this Name. |
| Method | encode |
Encode this Name into the appropriate byte format. |
| Instance Variable | name |
A byte string giving the name. |
| Parameters | |
| strio:file | Bytes will be read from this file until the full Name is decoded. |
| length | Undocumented |
| Raises | |
EOFError | Raised when there are not enough bytes available from strio. |
ValueError | Raised when the name cannot be decoded (for example, because it contains a loop). |
| Parameters | |
| strio:file | The byte representation of this Name will be written to this file. |
| compDict:dict | dictionary of Names that have already been encoded and whose addresses may be backreferenced by this Name (for the purpose of reducing the message size). |