MCPcopy Create free account
hub / github.com/cmliu/WorkerVless2sub / base64Decode

Function base64Decode

_worker.js:403–407  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

401
402 if (订阅链接 && 订阅链接.length !== 0) {
403 function base64Decode(str) {
404 const bytes = new Uint8Array(atob(str).split('').map(c => c.charCodeAt(0)));
405 const decoder = new TextDecoder('utf-8');
406 return decoder.decode(bytes);
407 }
408 const controller = new AbortController(); // 创建一个AbortController实例,用于取消请求
409
410 const timeout = setTimeout(() => {

Callers 1

getLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected