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

Function CloneAsUint8Array

out/cli.cjs:11122–11125  ·  view source on GitHub ↗
(O5)

Source from the content-addressed store, hash-verified

11120 return true;
11121 }
11122 function CloneAsUint8Array(O5) {
11123 const buffer = ArrayBufferSlice(O5.buffer, O5.byteOffset, O5.byteOffset + O5.byteLength);
11124 return new Uint8Array(buffer);
11125 }
11126 function DequeueValue(container) {
11127 const pair = container._queue.shift();
11128 container._queueTotalSize -= pair.size;

Callers 2

pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Calls 1

ArrayBufferSliceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…