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

Function encodeFrame

packages/effect/src/encoding/SchemaBinary.ts:4406–4414  ·  view source on GitHub ↗
(
  layout: Layout,
  value: unknown,
  options: SchemaAST.ParseOptions,
  mode: Mode,
  dict?: DictWrite | undefined
)

Source from the content-addressed store, hash-verified

4404}
4405
4406function encodeFrame(
4407 layout: Layout,
4408 value: unknown,
4409 options: SchemaAST.ParseOptions,
4410 mode: Mode,
4411 dict?: DictWrite | undefined
4412): Uint8Array<ArrayBuffer> {
4413 return runFrames(layout, value, undefined, options, mode, dict)
4414}
4415
4416// The direct paths bypass the schema pass for values the binary layer fully
4417// validates on its own; success exits are that case for `exitSuccess` targets.

Callers 3

encodeUnknownSyncFunction · 0.70
encoderFunction · 0.70
makeTransformationFunction · 0.70

Calls 1

runFramesFunction · 0.85

Tested by

no test coverage detected