File: rdata.py

package info (click to toggle)
python-aioice 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 424 kB
  • sloc: python: 3,832; makefile: 20; sh: 1
file content (13 lines) | stat: -rw-r--r-- 233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
class Rdata:
    rdclass: int
    rdtype: int
    ...

    def to_generic(self) -> "GenericRdata": ...


class GenericRdata(Rdata):
    data: bytes
    ...

    def __init__(self, rdclass: int, rdtype: int, data: bytes) -> None: ...