Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ __len__
Method
__len__
scapy/packet.py:668–670 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
666
__bool__ = __nonzero__
667
668
def
__len__(self):
669
# type: () -> int
670
return
len(self.__bytes__())
671
672
def
copy_field_value(self, fieldname, value):
673
# type: (str, Any) -> Any
Callers
nothing calls this directly
Calls
1
__bytes__
Method · 0.95
Tested by
no test coverage detected