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

Function _write_var_uint64

python/pyfory/serializer.py:377–381  ·  view source on GitHub ↗
(write_context, value: int)

Source from the content-addressed store, hash-verified

375
376
377def _write_var_uint64(write_context, value: int):
378 try:
379 write_context.write_var_uint64(value)
380 except OverflowError:
381 write_context.write_var_uint64(value - _UINT64_MOD)
382
383
384def _read_decimal_parts(read_context) -> Tuple[int, int]:

Callers 1

_write_decimal_partsFunction · 0.85

Calls 1

write_var_uint64Method · 0.45

Tested by

no test coverage detected