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

Method write

python/pyfory/tests/xlang_test_main.py:167–168  ·  view source on GitHub ↗
(self, write_context, value)

Source from the content-addressed store, hash-verified

165
166class MyExtSerializer(pyfory.serializer.Serializer):
167 def write(self, write_context, value):
168 write_context.write_varint32(value.id)
169
170 def read(self, read_context):
171 obj = MyExt()

Callers

nothing calls this directly

Calls 1

write_varint32Method · 0.80

Tested by

no test coverage detected