Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ atou
Function
atou
validator/js/webui/webui.js:36–38 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
34
35
// Base64 encoded ascii to ucs-2 string.
36
function
atou(str) {
37
return
decodeURIComponent(escape(atob(str)));
38
}
39
40
// Get query param that may contain an encoded document to be validated. Decode
41
// and return.
Callers
1
getIncomingDoc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected