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

Function decode

packages/effect/src/http-api/HttpApiClient.ts:1547–1549  ·  view source on GitHub ↗
(fromA)

Source from the content-addressed store, hash-verified

1545 Schema.Uint8Array as Schema.instanceOf<Uint8Array<ArrayBuffer>>,
1546 SchemaTransformation.transform({
1547 decode(fromA) {
1548 return new Uint8Array(fromA)
1549 },
1550 encode(arr) {
1551 return arr.byteLength === arr.buffer.byteLength ?
1552 arr.buffer :

Callers 7

HttpApiClient.tsFile · 0.70
decodePayloadFunction · 0.70
schemaBodyJsonFunction · 0.50
schemaBodyUrlParamsFunction · 0.50
schemaHeadersFunction · 0.50
schemaJsonFunction · 0.50
schemaNoBodyFunction · 0.50

Calls 2

failMethod · 0.65
decodeMethod · 0.45

Tested by

no test coverage detected