MCPcopy Create free account
hub / github.com/Botloader/botloader / read

Method read

components/runtime/src/ts/unstable/streams.ts:24–26  ·  view source on GitHub ↗
(buf: Uint8Array)

Source from the content-addressed store, hash-verified

22 }
23
24 read(buf: Uint8Array): Promise<number> {
25 return Deno.core.read(this.rid, buf);
26 }
27
28 write(data: Uint8Array): Promise<number> {
29 return Deno.core.write(this.rid, data)

Callers

nothing calls this directly

Calls 1

readMethod · 0.65

Tested by

no test coverage detected