Lines Matching refs:aBytes

70 function base64EncArr (aBytes) {  argument
74 for (var nLen = aBytes.length, nUint24 = 0, nIdx = 0; nIdx < nLen; nIdx++) {
76 nUint24 |= aBytes[nIdx] << (16 >>> nMod3 & 24);
77 if (nMod3 === 2 || aBytes.length - nIdx === 1) {
89 function UTF8ArrToStr (aBytes) { argument
93 for (var nPart, nLen = aBytes.length, nIdx = 0; nIdx < nLen; nIdx++) {
94 nPart = aBytes[nIdx];
98 …73741824 + (aBytes[++nIdx] - 128 << 24) + (aBytes[++nIdx] - 128 << 18) + (aBytes[++nIdx] - 128 << …
100 …(nPart - 248 << 24) + (aBytes[++nIdx] - 128 << 18) + (aBytes[++nIdx] - 128 << 12) + (aBytes[++nIdx…
102 …(nPart - 240 << 18) + (aBytes[++nIdx] - 128 << 12) + (aBytes[++nIdx] - 128 << 6) + aBytes[++nIdx] …
104 (nPart - 224 << 12) + (aBytes[++nIdx] - 128 << 6) + aBytes[++nIdx] - 128
106 (nPart - 192 << 6) + aBytes[++nIdx] - 128
118 var aBytes, nChr, nStrLen = sDOMStr.length, nArrLen = 0;
127 aBytes = new Uint8Array(nArrLen);
135 aBytes[nIdx++] = nChr;
138 aBytes[nIdx++] = 192 + (nChr >>> 6);
139 aBytes[nIdx++] = 128 + (nChr & 63);
142 aBytes[nIdx++] = 224 + (nChr >>> 12);
143 aBytes[nIdx++] = 128 + (nChr >>> 6 & 63);
144 aBytes[nIdx++] = 128 + (nChr & 63);
147 aBytes[nIdx++] = 240 + (nChr >>> 18);
148 aBytes[nIdx++] = 128 + (nChr >>> 12 & 63);
149 aBytes[nIdx++] = 128 + (nChr >>> 6 & 63);
150 aBytes[nIdx++] = 128 + (nChr & 63);
153 aBytes[nIdx++] = 248 + (nChr >>> 24);
154 aBytes[nIdx++] = 128 + (nChr >>> 18 & 63);
155 aBytes[nIdx++] = 128 + (nChr >>> 12 & 63);
156 aBytes[nIdx++] = 128 + (nChr >>> 6 & 63);
157 aBytes[nIdx++] = 128 + (nChr & 63);
160aBytes[nIdx++] = 252 + /* (nChr >>> 32) is not possible in ECMAScript! So...: */ (nChr / 107374182…
161 aBytes[nIdx++] = 128 + (nChr >>> 24 & 63);
162 aBytes[nIdx++] = 128 + (nChr >>> 18 & 63);
163 aBytes[nIdx++] = 128 + (nChr >>> 12 & 63);
164 aBytes[nIdx++] = 128 + (nChr >>> 6 & 63);
165 aBytes[nIdx++] = 128 + (nChr & 63);
169 return aBytes;