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

Method i2repr

scapy/layers/tls/handshake.py:165–168  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

163
164class _TLSRandomBytesField(StrFixedLenField):
165 def i2repr(self, pkt, x):
166 if x is None:
167 return repr(x)
168 return repr_hex(self.i2h(pkt, x))
169
170
171class _SessionIDField(StrLenField):

Callers

nothing calls this directly

Calls 2

repr_hexFunction · 0.90
i2hMethod · 0.45

Tested by

no test coverage detected