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

Method set

projects/Python/proto/proto.py:999–1003  ·  view source on GitHub ↗
(self, fbe_value)

Source from the content-addressed store, hash-verified

997
998 # Set the struct value
999 def set(self, fbe_value):
1000 self._buffer.shift(self.fbe_offset)
1001 fbe_size = self.set_fields(fbe_value)
1002 self._buffer.unshift(self.fbe_offset)
1003 return fbe_size
1004
1005 # Set the struct fields values
1006 def set_fields(self, fbe_value):

Callers

nothing calls this directly

Calls 3

set_fieldsMethod · 0.95
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected