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

Method get

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

Source from the content-addressed store, hash-verified

15481
15482 # Get the struct value
15483 def get(self, fbe_value=None):
15484 if fbe_value is None:
15485 fbe_value = StructHashEx()
15486
15487 self._buffer.shift(self.fbe_offset)
15488 fbe_size = self.get_fields(fbe_value)
15489 self._buffer.unshift(self.fbe_offset)
15490 return fbe_value, fbe_size
15491
15492 # Get the struct fields values
15493 def get_fields(self, fbe_value):

Callers

nothing calls this directly

Calls 4

get_fieldsMethod · 0.95
StructHashExClass · 0.70
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected