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

Method get

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

EnumCharClass · 0.70
read_uint8Method · 0.45

Tested by

no test coverage detected