Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Distributive-Network/PythonMonkey
/ btoa
Function
btoa
python/pythonmonkey/builtin_modules/base64.py:15–16 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
13
14
15
def
btoa(data):
16
return
str(base64.standard_b64encode(bytes(data,
'latin1'
)),
'latin1'
)
17
18
19
# Make `atob`/`btoa` globally available
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected