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

Method get

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

Source from the content-addressed store, hash-verified

7822
7823 # Get the struct value
7824 def get(self, fbe_value=None):
7825 if fbe_value is None:
7826 fbe_value = StructNested()
7827
7828 fbe_begin = self.get_begin()
7829 if fbe_begin == 0:
7830 return fbe_value
7831
7832 fbe_struct_size = self.read_uint32(0)
7833 self.get_fields(fbe_value, fbe_struct_size)
7834 self.get_end(fbe_begin)
7835 return fbe_value
7836
7837 # Get the struct fields values
7838 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
StructNestedClass · 0.70
read_uint32Method · 0.45

Tested by

no test coverage detected