MCPcopy Index your code
hub / github.com/Effect-TS/effect / decode

Function decode

packages/platform/src/HttpApiClient.ts:428–430  ·  view source on GitHub ↗
(fromA)

Source from the content-addressed store, hash-verified

426 Schema.Uint8ArrayFromSelf,
427 {
428 decode(fromA) {
429 return new Uint8Array(fromA)
430 },
431 encode(arr) {
432 return arr.byteLength === arr.buffer.byteLength ?
433 arr.buffer :

Callers 1

onEndpointFunction · 0.70

Calls 2

decodeMethod · 0.80
failMethod · 0.65

Tested by

no test coverage detected