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

Method set

projects/Python/proto/protoex.py:2409–2413  ·  view source on GitHub ↗
(self, fbe_value)

Source from the content-addressed store, hash-verified

2407
2408 # Set the struct value
2409 def set(self, fbe_value):
2410 self._buffer.shift(self.fbe_offset)
2411 fbe_size = self.set_fields(fbe_value)
2412 self._buffer.unshift(self.fbe_offset)
2413 return fbe_size
2414
2415 # Set the struct fields values
2416 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