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

Method write

python/pyfory/tests/test_serializer.py:652–654  ·  view source on GitHub ↗
(self, write_context, value: Bar)

Source from the content-addressed store, hash-verified

650
651class BarSerializer(pyfory.Serializer):
652 def write(self, write_context, value: Bar):
653 write_context.write_int32(value.f1)
654 write_context.write_int32(value.f2)
655
656 def read(self, read_context):
657 return Bar(read_context.read_int32(), read_context.read_int32())

Callers

nothing calls this directly

Calls 1

write_int32Method · 0.45

Tested by

no test coverage detected