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

Method i2repr

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

Source from the content-addressed store, hash-verified

1483 return super(StrFieldUtf16, self).any2i(pkt, x)
1484
1485 def i2repr(self, pkt, x):
1486 # type: (Optional[Packet], bytes) -> str
1487 return plain_str(self.i2h(pkt, x))
1488
1489 def h2i(self, pkt, x):
1490 # type: (Optional[Packet], Optional[str]) -> bytes

Callers

nothing calls this directly

Calls 2

i2hMethod · 0.95
plain_strFunction · 0.90

Tested by

no test coverage detected