Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChrome/samples
/ demo.js
File
demo.js
encoding-api/demo.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
if
(
'TextDecoder'
in window) {
2
// The local files to be fetched, mapped to the encoding that they're using.
3
var
filesToEncoding = {
4
'utf8.bin'
:
'utf-8'
,
Callers
nothing calls this directly
Calls
1
fetchAndDecode
Function · 0.85
Tested by
no test coverage detected