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

Method get

projects/Python/proto/enums.py:543–547  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

541
542 # Get the value
543 def get(self):
544 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
545 return EnumUInt8(), 0
546
547 return EnumUInt8(self.read_uint8(self.fbe_offset)), self.fbe_size
548
549 # Set the value
550 def set(self, value):

Callers

nothing calls this directly

Calls 2

EnumUInt8Class · 0.70
read_uint8Method · 0.45

Tested by

no test coverage detected