MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / asBuf

Function asBuf

src/extraction/store-worker.ts:61–61  ·  view source on GitHub ↗
(u: Uint8Array)

Source from the content-addressed store, hash-verified

59/** Decode a kernel bundle's buffers into the standard pre-filtered StoreBundle. */
60function decodeKernelBundle(bundle: KernelStoreBundle): StoreBundle {
61 const asBuf = (u: Uint8Array) => Buffer.from(u.buffer, u.byteOffset, u.byteLength);
62 const decoded = decodeExtractBuffers(
63 {
64 meta: asBuf(bundle.buffers.meta),

Callers 1

decodeKernelBundleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected