MCPcopy 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
1328class XShortField(ShortField):
1329 def i2repr(self, pkt, x):
1330 # type: (Optional[Packet], int) -> str
1331 return lhex(self.i2h(pkt, x))
1332
1333
1334class IntField(Field[int, int]):

Callers

nothing calls this directly

Calls 2

lhexFunction · 0.90
i2hMethod · 0.45

Tested by

no test coverage detected