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

Method set

projects/Python/proto/test.py:3142–3146  ·  view source on GitHub ↗
(self, fbe_value)

Source from the content-addressed store, hash-verified

3140
3141 # Set the struct value
3142 def set(self, fbe_value):
3143 self._buffer.shift(self.fbe_offset)
3144 fbe_size = self.set_fields(fbe_value)
3145 self._buffer.unshift(self.fbe_offset)
3146 return fbe_size
3147
3148 # Set the struct fields values
3149 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