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

Method get

projects/Python/proto/fbe.py:1360–1372  ·  view source on GitHub ↗
(self, values=None)

Source from the content-addressed store, hash-verified

1358
1359 # Get the array
1360 def get(self, values=None):
1361 if values is None:
1362 values = list()
1363
1364 values.clear()
1365
1366 fbe_model = self[0]
1367 for i in range(self._size):
1368 value = fbe_model.get()
1369 values.append(value)
1370 fbe_model.fbe_shift(fbe_model.fbe_size)
1371
1372 return values
1373
1374 # Set the array
1375 def set(self, values):

Callers

nothing calls this directly

Calls 3

clearMethod · 0.80
getMethod · 0.45
fbe_shiftMethod · 0.45

Tested by

no test coverage detected