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

Method get

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

Source from the content-addressed store, hash-verified

865
866 # Get the value
867 def get(self):
868 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
869 return EnumInt32(), 0
870
871 return EnumInt32(self.read_int32(self.fbe_offset)), self.fbe_size
872
873 # Set the value
874 def set(self, value):

Callers

nothing calls this directly

Calls 2

EnumInt32Class · 0.70
read_int32Method · 0.45

Tested by

no test coverage detected