MCPcopy Create free account
hub / github.com/UI5/webcomponents / fromArrayLike

Function fromArrayLike

packages/main/test/pages/diffable-html.js:350–357  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

348 }
349
350 function fromArrayLike (array) {
351 var length = array.length < 0 ? 0 : checked(array.length) | 0
352 var buf = createBuffer(length)
353 for (var i = 0; i < length; i += 1) {
354 buf[i] = array[i] & 255
355 }
356 return buf
357 }
358
359 function fromArrayBuffer (array, byteOffset, length) {
360 if (byteOffset < 0 || array.byteLength < byteOffset) {

Callers 1

fromObjectFunction · 0.85

Calls 2

checkedFunction · 0.85
createBufferFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…