Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/iovisor/bcc
/ __bytes__
Method
__bytes__
src/python/bcc/utils.py:76–77 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
74
self.s = arg.decode(FILESYSTEMENCODING)
75
76
def
__bytes__(self):
77
return
self.s.encode(FILESYSTEMENCODING)
78
79
def
__str__(self):
80
return
self.s
Callers
2
_find_file
Method · 0.95
_assert_is_bytes
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected