Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_opt_short_lengths
Method · 0.45
test_Gateway_type4
Method · 0.45
Calls
1
get_struct
Method · 0.80
Tested by
no test coverage detected