MCPcopy Create free account
hub / github.com/secdev/scapy / _i2repr

Method _i2repr

scapy/fields.py:2857–2859  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

2855
2856class XLE3BytesEnumField(LE3BytesEnumField):
2857 def _i2repr(self, pkt, x):
2858 # type: (Optional[Packet], Any) -> str
2859 return lhex(x)
2860
2861
2862class _MultiEnumField(_EnumField[I]):

Callers

nothing calls this directly

Calls 1

lhexFunction · 0.90

Tested by

no test coverage detected