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

Method get

projects/Python/proto/test.py:459–463  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

457
458 # Get the value
459 def get(self):
460 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
461 return FlagsSimple(), 0
462
463 return FlagsSimple(self.read_int32(self.fbe_offset)), self.fbe_size
464
465 # Set the value
466 def set(self, value):

Callers

nothing calls this directly

Calls 2

FlagsSimpleClass · 0.70
read_int32Method · 0.45

Tested by

no test coverage detected