MCPcopy Create free account
hub / github.com/CapSoftware/Cap / readInto

Method readInto

apps/desktop/src/utils/shared-frame-buffer.ts:244–244  ·  view source on GitHub ↗
(target: Uint8Array, timeoutMs?: number)

Source from the content-addressed store, hash-verified

242export interface Consumer {
243 read(timeoutMs?: number): ArrayBuffer | null;
244 readInto(target: Uint8Array, timeoutMs?: number): number | null;
245 borrow(timeoutMs?: number): BorrowedFrame | null;
246 isShutdown(): boolean;
247 getSlotSize(): number;

Callers 1

tryPollSharedBufferFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected