MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / set

Method set

projects/Python/proto/test.py:609–614  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

607
608 # Set the value
609 def set(self, value):
610 assert ((self._buffer.offset + self.fbe_offset + self.fbe_size) <= self._buffer.size), "Model is broken!"
611 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
612 return
613
614 self.write_uint64(self.fbe_offset, value)
615
616
617# Fast Binary Encoding FlagsTyped final model

Callers

nothing calls this directly

Calls 1

write_uint64Method · 0.45

Tested by

no test coverage detected