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

Method get

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

Source from the content-addressed store, hash-verified

3682
3683 # Get the struct value
3684 def get(self, fbe_value=None):
3685 if fbe_value is None:
3686 fbe_value = AccountMessage()
3687
3688 fbe_begin = self.get_begin()
3689 if fbe_begin == 0:
3690 return fbe_value
3691
3692 fbe_struct_size = self.read_uint32(0)
3693 self.get_fields(fbe_value, fbe_struct_size)
3694 self.get_end(fbe_begin)
3695 return fbe_value
3696
3697 # Get the struct fields values
3698 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
AccountMessageClass · 0.70
read_uint32Method · 0.45

Tested by

no test coverage detected