MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / exportBundleBytes

Function exportBundleBytes

packages/core/src/debug/debugController.ts:646–649  ·  view source on GitHub ↗
(options?: DebugBundleExportOptions)

Source from the content-addressed store, hash-verified

644 }
645
646 async function exportBundleBytes(options?: DebugBundleExportOptions): Promise<Uint8Array> {
647 const bundle = await exportBundle(options);
648 return new TextEncoder().encode(stableJson(bundle));
649 }
650
651 function processRecords(headers: Uint8Array, payloads: Map<bigint, Uint8Array>): void {
652 const count = Math.floor(headers.byteLength / DEBUG_RECORD_HEADER_SIZE);

Callers

nothing calls this directly

Calls 3

exportBundleFunction · 0.85
encodeMethod · 0.80
stableJsonFunction · 0.70

Tested by

no test coverage detected