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

Method i2repr

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

Source from the content-addressed store, hash-verified

1061# XXX Unused field: at least add some tests
1062class OByteField(ByteField):
1063 def i2repr(self, pkt, x):
1064 # type: (Optional[Packet], int) -> str
1065 return "%03o" % self.i2h(pkt, x)
1066
1067
1068class ThreeBytesField(Field[int, int]):

Callers

nothing calls this directly

Calls 1

i2hMethod · 0.45

Tested by

no test coverage detected