MCPcopy
hub / github.com/di-sukharev/opencommit / arrayBuffer

Function arrayBuffer

out/cli.cjs:6131–6135  ·  view source on GitHub ↗

* Decode response as ArrayBuffer * * @return Promise

()

Source from the content-addressed store, hash-verified

6129 * @return Promise
6130 */
6131 arrayBuffer() {
6132 return consumeBody.call(this).then(function(buf) {
6133 return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
6134 });
6135 },
6136 /**
6137 * Return raw response as Blob
6138 *

Callers

nothing calls this directly

Calls 3

specConsumeBodyFunction · 0.85
thenMethod · 0.80
sliceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…