MCPcopy
hub / github.com/prisma/prisma / serializeParamGraph

Function serializeParamGraph

packages/param-graph/src/serialization.ts:119–121  ·  view source on GitHub ↗
(data: ParamGraphData)

Source from the content-addressed store, hash-verified

117 * Serializes a ParamGraphData to the compact binary format.
118 */
119export function serializeParamGraph(data: ParamGraphData): SerializedParamGraph {
120 return new Serializer(data).serialize()
121}
122
123/**
124 * Deserializes a binary-encoded ParamGraph.

Callers 2

buildAndSerializeMethod · 0.90

Calls 1

serializeMethod · 0.80

Tested by

no test coverage detected