Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ i2repr
Method
i2repr
scapy/fields.py:1329–1331 ·
view source on GitHub ↗
(self, pkt, x)
Source
from the content-addressed store, hash-verified
1327
1328
class
XShortField(ShortField):
1329
def
i2repr(self, pkt, x):
1330
# type: (Optional[Packet], int) -> str
1331
return
lhex(self.i2h(pkt, x))
1332
1333
1334
class
IntField(Field[int, int]):
Callers
nothing calls this directly
Calls
2
lhex
Function · 0.90
i2h
Method · 0.45
Tested by
no test coverage detected