MCPcopy Create free account
hub / github.com/rthalley/dnspython / from_wire_parser

Method from_wire_parser

tests/test_edns.py:285–287  ·  view source on GitHub ↗
(cls, otype, parser)

Source from the content-addressed store, hash-verified

283
284 @classmethod
285 def from_wire_parser(cls, otype, parser):
286 (value,) = parser.get_struct("!I")
287 return cls(value)
288
289 try:
290 dns.edns.register_type(U32Option, U32OptionType)

Callers 2

test_Gateway_type4Method · 0.45

Calls 1

get_structMethod · 0.80

Tested by

no test coverage detected