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

Method get

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

Source from the content-addressed store, hash-verified

2712
2713 # Get the struct value
2714 def get(self, fbe_value=None):
2715 if fbe_value is None:
2716 fbe_value = OrderMessage()
2717
2718 fbe_begin = self.get_begin()
2719 if fbe_begin == 0:
2720 return fbe_value
2721
2722 fbe_struct_size = self.read_uint32(0)
2723 self.get_fields(fbe_value, fbe_struct_size)
2724 self.get_end(fbe_begin)
2725 return fbe_value
2726
2727 # Get the struct fields values
2728 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
OrderMessageClass · 0.70
read_uint32Method · 0.45

Tested by

no test coverage detected