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

Function decodeText

packages/shell/src/helpers.ts:29–31  ·  view source on GitHub ↗
(value: Uint8Array)

Source from the content-addressed store, hash-verified

27}
28
29export function decodeText(value: Uint8Array): string {
30 return textDecoder.decode(value);
31}
32
33export function stateDirent(name: string, type: StateEntryType): StateDirent {
34 return { name, type };

Callers 1

readAsciiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected