Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ base64_bytes
Function
base64_bytes
scapy/compat.py:183–186 ·
view source on GitHub ↗
Turn base64 into bytes
(x)
Source
from the content-addressed store, hash-verified
181
182
183
def
base64_bytes(x):
184
# type: (AnyStr) -> bytes
185
""
"Turn base64 into bytes"
""
186
return
base64.decodebytes(bytes_encode(x))
187
188
189
def
bytes_base64(x):
Callers
1
get_local
Method · 0.90
Calls
1
bytes_encode
Function · 0.85
Tested by
no test coverage detected