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

Method set

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

Source from the content-addressed store, hash-verified

1108
1109 # Set the struct value
1110 def set(self, fbe_value):
1111 self._buffer.shift(self.fbe_offset)
1112 fbe_size = self.set_fields(fbe_value)
1113 self._buffer.unshift(self.fbe_offset)
1114 return fbe_size
1115
1116 # Set the struct fields values
1117 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