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

Method set

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

Source from the content-addressed store, hash-verified

1558
1559 # Set the struct value
1560 def set(self, fbe_value):
1561 self._buffer.shift(self.fbe_offset)
1562 fbe_size = self.set_fields(fbe_value)
1563 self._buffer.unshift(self.fbe_offset)
1564 return fbe_size
1565
1566 # Set the struct fields values
1567 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