MCPcopy 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
183def base64_bytes(x):
184 # type: (AnyStr) -> bytes
185 """Turn base64 into bytes"""
186 return base64.decodebytes(bytes_encode(x))
187
188
189def bytes_base64(x):

Callers 1

get_localMethod · 0.90

Calls 1

bytes_encodeFunction · 0.85

Tested by

no test coverage detected