MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / encode

Function encode

libs/zhihu.js:84–98  ·  view source on GitHub ↗
(ar)

Source from the content-addressed store, hash-verified

82}
83
84function encode(ar) {
85 let b = ar[1] << 8,
86 c = ar[0] | b,
87 d = ar[2] << 16,
88 e = c | d,
89 result_array = [],
90 x6 = 6;
91 result_array.push(e & 63);
92 while (result_array.length < 4) {
93 let a = e >>> x6;
94 result_array.push(a & 63);
95 x6 += 6;
96 }
97 return result_array
98}
99
100function get_init_array(encode_md5) {
101 let init_array = []

Callers 1

get_zse_96Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected