MCPcopy Index your code
hub / github.com/apache/fory / write

Method write

python/pyfory/_serializer.py:86–87  ·  view source on GitHub ↗
(self, write_context, value)

Source from the content-addressed store, hash-verified

84
85class BooleanSerializer(Serializer):
86 def write(self, write_context, value):
87 write_context.write_bool(value)
88
89 def read(self, read_context):
90 return read_context.read_bool()

Callers

nothing calls this directly

Calls 1

write_boolMethod · 0.45

Tested by

no test coverage detected