MCPcopy Index your code
hub / github.com/secdev/scapy / h2i

Method h2i

scapy/fields.py:198–201  ·  view source on GitHub ↗

Convert human value to internal value

(self, pkt, x)

Source from the content-addressed store, hash-verified

196 return 1
197
198 def h2i(self, pkt, x):
199 # type: (Optional[Packet], Any) -> I
200 """Convert human value to internal value"""
201 return cast(I, x)
202
203 def i2h(self, pkt, x):
204 # type: (Optional[Packet], I) -> Any

Callers 2

any2iMethod · 0.95
h2iMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected