(self, where: int)
| 67 | return name |
| 68 | |
| 69 | def seek(self, where: int) -> None: |
| 70 | # Note that seeking to the end is OK! (If you try to read |
| 71 | # after such a seek, you'll get an exception as expected.) |
| 72 | if where < 0 or where > self.end: |
| 73 | raise dns.exception.FormError |
| 74 | self.current = where |
| 75 | |
| 76 | @contextlib.contextmanager |
| 77 | def restrict_to(self, size: int) -> Iterator: |
no outgoing calls