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

Method get

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

Source from the content-addressed store, hash-verified

1529
1530 # Get the struct value
1531 def get(self, fbe_value=None):
1532 if fbe_value is None:
1533 fbe_value = Balance()
1534
1535 self._buffer.shift(self.fbe_offset)
1536 fbe_size = self.get_fields(fbe_value)
1537 self._buffer.unshift(self.fbe_offset)
1538 return fbe_value, fbe_size
1539
1540 # Get the struct fields values
1541 def get_fields(self, fbe_value):

Callers

nothing calls this directly

Calls 4

get_fieldsMethod · 0.95
BalanceClass · 0.70
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected