Implements interfaces: twisted.names.dns.IEncodable, twisted.names.dns.IRecord

Encapsulate the wire data for unknown record types so that they can pass through the system unchanged.

Present Since11.1
Instance Variable data Wire data which makes up this record. (type: bytes)
Instance Variable ttl The maximum number of seconds which this record should be cached. (type: int)
Method __init__ Undocumented
Method encode Write the raw bytes corresponding to this record's payload to the stream.
Method decode Load the bytes which are part of this record from the stream and store them unparsed and unmodified.
Method __hash__ Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyStrMixin:

Method __str__ Undocumented
data =
Wire data which makes up this record. (type: bytes)
ttl =
The maximum number of seconds which this record should be cached. (type: int)
def __init__(self, data='', ttl=None): (source)
Undocumented
def encode(self, strio, compDict=None): (source)

Write the raw bytes corresponding to this record's payload to the stream.

def decode(self, strio, length=None): (source)

Load the bytes which are part of this record from the stream and store them unparsed and unmodified.

def __hash__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.