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

Method get

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

Source from the content-addressed store, hash-verified

218
219 # Get the value
220 def get(self):
221 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
222 return EnumTyped(), 0
223
224 return EnumTyped(self.read_uint8(self.fbe_offset)), self.fbe_size
225
226 # Set the value
227 def set(self, value):

Callers

nothing calls this directly

Calls 2

EnumTypedClass · 0.70
read_uint8Method · 0.45

Tested by

no test coverage detected