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

Method get

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

Source from the content-addressed store, hash-verified

11655
11656 # Get the struct value
11657 def get(self, fbe_value=None):
11658 if fbe_value is None:
11659 fbe_value = StructList()
11660
11661 fbe_begin = self.get_begin()
11662 if fbe_begin == 0:
11663 return fbe_value
11664
11665 fbe_struct_size = self.read_uint32(0)
11666 self.get_fields(fbe_value, fbe_struct_size)
11667 self.get_end(fbe_begin)
11668 return fbe_value
11669
11670 # Get the struct fields values
11671 def get_fields(self, fbe_value, fbe_struct_size):

Callers

nothing calls this directly

Calls 5

get_beginMethod · 0.95
get_fieldsMethod · 0.95
get_endMethod · 0.95
StructListClass · 0.70
read_uint32Method · 0.45

Tested by

no test coverage detected