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

Method i2repr

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

Source from the content-addressed store, hash-verified

2510
2511class XBitField(BitField):
2512 def i2repr(self, pkt, x):
2513 # type: (Optional[Packet], int) -> str
2514 return lhex(self.i2h(pkt, x))
2515
2516
2517_EnumType = Union[Dict[I, str], Dict[str, I], List[str], DADict[I, str], Type[Enum], Tuple[Callable[[I], str], Callable[[str], I]]] # noqa: E501

Callers

nothing calls this directly

Calls 2

lhexFunction · 0.90
i2hMethod · 0.45

Tested by

no test coverage detected