MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / readArrayBufferAsText

Function readArrayBufferAsText

packages/core/fetch/index.mjs:192–200  ·  view source on GitHub ↗
(buf)

Source from the content-addressed store, hash-verified

190 }
191
192 function readArrayBufferAsText(buf) {
193 var view = new Uint8Array(buf);
194 var chars = new Array(view.length);
195
196 for (var i = 0; i < view.length; i++) {
197 chars[i] = String.fromCharCode(view[i]);
198 }
199 return chars.join("");
200 }
201
202 function bufferClone(buf) {
203 if (buf.slice) {

Callers 1

BodyFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected