MCPcopy Create free account
hub / github.com/apache/fory / write

Method write

javascript/packages/core/lib/gen/ext.ts:44–48  ·  view source on GitHub ↗
(accessor: string)

Source from the content-addressed store, hash-verified

42 }
43
44 write(accessor: string): string {
45 return `
46 ${this.builder.getOptions("customSerializer")}.write(${this.builder.getWriteContextName()}, ${accessor})
47 `;
48 }
49
50 read(accessor: (expr: string) => string, refState: string): string {
51 const result = this.scope.uniqueName("result");

Callers

nothing calls this directly

Calls 2

getOptionsMethod · 0.80
getWriteContextNameMethod · 0.80

Tested by

no test coverage detected