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

Method set

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

Source from the content-addressed store, hash-verified

1675
1676 # Set the struct value
1677 def set(self, fbe_value):
1678 self._buffer.shift(self.fbe_offset)
1679 fbe_size = self.set_fields(fbe_value)
1680 self._buffer.unshift(self.fbe_offset)
1681 return fbe_size
1682
1683 # Set the struct fields values
1684 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