MCPcopy Create free account
hub / github.com/cloudflare/agents / readFileBytes

Method readFileBytes

packages/shell/src/backend.ts:278–278  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

276 getCapabilities(): Promise<StateCapabilities>;
277 readFile(path: string): Promise<string>;
278 readFileBytes(path: string): Promise<Uint8Array>;
279 writeFile(path: string, content: string): Promise<void>;
280 writeFileBytes(path: string, content: Uint8Array): Promise<void>;
281 appendFile(path: string, content: string | Uint8Array): Promise<void>;

Callers 5

readFileBytesMethod · 0.65
appendFileMethod · 0.65
readFileBytesMethod · 0.65
readFileBytesMethod · 0.65
readFileBytesMethod · 0.65

Implementers 1

FileSystemStateBackendpackages/shell/src/memory.ts

Calls

no outgoing calls

Tested by

no test coverage detected