MCPcopy Create free account
hub / github.com/Effect-TS/effect / uint8Array

Function uint8Array

packages/platform/src/internal/httpBody.ts:107–108  ·  view source on GitHub ↗
(body: Uint8Array, contentType?: string)

Source from the content-addressed store, hash-verified

105
106/** @internal */
107export const uint8Array = (body: Uint8Array, contentType?: string): Body.Uint8Array =>
108 new Uint8ArrayImpl(body, contentType ?? "application/octet-stream")
109
110const encoder = new TextEncoder()
111

Callers 1

textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…