MCPcopy Create free account
hub / github.com/pingdotgg/t3code / bytesToString

Function bytesToString

apps/server/src/cloud/http.ts:112–114  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

110);
111
112function bytesToString(bytes: Uint8Array): string {
113 return new TextDecoder().decode(bytes);
114}
115
116function stringToBytes(value: string): Uint8Array {
117 return new TextEncoder().encode(value);

Callers 3

validateLinkedCloudUserFunction · 0.70
readInstalledCloudUserIdFunction · 0.70
http.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected