MCPcopy Create free account
hub / github.com/TanStack/router / encode

Function encode

e2e/solid-start/basic/src/raw-stream-fns.ts:36–38  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

34
35// Helper to encode text to Uint8Array
36function encode(text: string): Uint8Array {
37 return new TextEncoder().encode(text)
38}
39
40// Export helpers for use in components and SSR routes
41export { encode, createDelayedStream, concatBytes }

Callers 7

ssr-mixed.tsxFile · 0.90
ssr-text-hint.tsxFile · 0.90
ssr-single.tsxFile · 0.90
ssr-multiple.tsxFile · 0.90
raw-stream-fns.tsFile · 0.70
startFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected