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

Function copyInto

packages/node/src/backend/nodeBackend/frameTransport.ts:34–36  ·  view source on GitHub ↗
(buf: ArrayBuffer, bytes: Uint8Array)

Source from the content-addressed store, hash-verified

32}>;
33
34export function copyInto(buf: ArrayBuffer, bytes: Uint8Array): void {
35 new Uint8Array(buf, 0, bytes.byteLength).set(bytes);
36}
37
38export function frameSeqToSlotToken(frameSeq: number): number {
39 const token = frameSeq & 0x7fff_ffff;

Callers 3

requestFrameFunction · 0.85
postUserEventFunction · 0.85
commitScrollbackFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected