MCPcopy Index your code
hub / github.com/Moli-X/Resources / utob

Function utob

Script/Parser.js:3023–3025  ·  view source on GitHub ↗
(u)

Source from the content-addressed store, hash-verified

3021 };
3022 var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
3023 var utob = function (u) {
3024 return u.replace(re_utob, cb_utob);
3025 };
3026 var cb_encode = function (ccc) {
3027 var padlen = [0, 2, 1][ccc.length % 3],
3028 ord = ccc.charCodeAt(0) << 16

Callers 1

Base64CodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…