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

Function concatBuffer

out/cli.cjs:78029–78034  ·  view source on GitHub ↗
(a4, b7)

Source from the content-addressed store, hash-verified

78027 ControlChars2[ControlChars2["Space"] = 32] = "Space";
78028 ControlChars2[ControlChars2["Colon"] = 58] = "Colon";
78029})(ControlChars || (ControlChars = {}));
78030function createSseStream(chunkStream) {
78031 const { cancel, iterable } = ensureAsyncIterable(chunkStream);
78032 const asyncIter = toMessage(toLine(iterable));
78033 return createStream(asyncIter, cancel);
78034}
78035function concatBuffer(a4, b7) {
78036 const res = new Uint8Array(a4.length + b7.length);
78037 res.set(a4);

Callers 1

toLineFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…