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

Method i2repr

scapy/fields.py:227–230  ·  view source on GitHub ↗

Convert internal value to a nice representation

(self, pkt, x)

Source from the content-addressed store, hash-verified

225 return self.h2i(pkt, x)
226
227 def i2repr(self, pkt, x):
228 # type: (Optional[Packet], I) -> str
229 """Convert internal value to a nice representation"""
230 return repr(self.i2h(pkt, x))
231
232 def addfield(self, pkt, s, val):
233 # type: (Packet, bytes, Optional[I]) -> bytes

Callers 15

i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45
i2reprMethod · 0.45

Calls 1

i2hMethod · 0.95

Tested by

no test coverage detected