(u: Uint8Array)
| 59 | /** Decode a kernel bundle's buffers into the standard pre-filtered StoreBundle. */ |
| 60 | function 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), |
no outgoing calls
no test coverage detected