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

Method i2repr

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

Source from the content-addressed store, hash-verified

1054
1055class XByteField(ByteField):
1056 def i2repr(self, pkt, x):
1057 # type: (Optional[Packet], int) -> str
1058 return lhex(self.i2h(pkt, x))
1059
1060
1061# XXX Unused field: at least add some tests

Callers

nothing calls this directly

Calls 2

lhexFunction · 0.90
i2hMethod · 0.45

Tested by

no test coverage detected