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

Method get

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

Source from the content-addressed store, hash-verified

3197
3198 # Get the struct value
3199 def get(self, fbe_value=None):
3200 if fbe_value is None:
3201 fbe_value = BalanceMessage()
3202
3203 fbe_begin = self.get_begin()
3204 if fbe_begin == 0:
3205 return fbe_value
3206
3207 fbe_struct_size = self.read_uint32(0)
3208 self.get_fields(fbe_value, fbe_struct_size)
3209 self.get_end(fbe_begin)
3210 return fbe_value
3211
3212 # Get the struct fields values
3213 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
BalanceMessageClass · 0.70
read_uint32Method · 0.45

Tested by

no test coverage detected