Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ __bytes__
Method
__bytes__
scapy/utils.py:1170–1172 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1168
return
self._key
1169
1170
def
__bytes__(self):
1171
# type: () -> bytes
1172
return
bytes_encode(self.__str__())
1173
1174
def
__hash__(self):
1175
# type: () -> int
Callers
nothing calls this directly
Calls
2
__str__
Method · 0.95
bytes_encode
Function · 0.90
Tested by
no test coverage detected