Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
164
class
_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
171
class
_SessionIDField(StrLenField):
Callers
nothing calls this directly
Calls
2
repr_hex
Function · 0.90
i2h
Method · 0.45
Tested by
no test coverage detected