MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / ArrayBufferSlice

Function ArrayBufferSlice

out/cli.cjs:11044–11052  ·  view source on GitHub ↗
(buffer, begin, end)

Source from the content-addressed store, hash-verified

11042 return IsDetachedBuffer(O5);
11043 };
11044 function ArrayBufferSlice(buffer, begin, end) {
11045 if (buffer.slice) {
11046 return buffer.slice(begin, end);
11047 }
11048 const length = end - begin;
11049 const slice = new ArrayBuffer(length);
11050 CopyDataBlockBytes(slice, 0, buffer, begin, length);
11051 return slice;
11052 }
11053 function GetMethod(receiver, prop) {
11054 const func = receiver[prop];
11055 if (func === void 0 || func === null) {

Calls 2

CopyDataBlockBytesFunction · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…