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

Method get

projects/Python/proto/protoex.py:3381–3388  ·  view source on GitHub ↗
(self, fbe_value=None)

Source from the content-addressed store, hash-verified

3379
3380 # Get the struct value
3381 def get(self, fbe_value=None):
3382 if fbe_value is None:
3383 fbe_value = BalanceMessage()
3384
3385 self._buffer.shift(self.fbe_offset)
3386 fbe_size = self.get_fields(fbe_value)
3387 self._buffer.unshift(self.fbe_offset)
3388 return fbe_value, fbe_size
3389
3390 # Get the struct fields values
3391 def get_fields(self, fbe_value):

Callers

nothing calls this directly

Calls 4

get_fieldsMethod · 0.95
BalanceMessageClass · 0.70
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected