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

Method get

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

Source from the content-addressed store, hash-verified

109
110 # Get the value
111 def get(self):
112 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
113 return EnumByte(), 0
114
115 return EnumByte(self.read_byte(self.fbe_offset)), self.fbe_size
116
117 # Set the value
118 def set(self, value):

Callers

nothing calls this directly

Calls 2

EnumByteClass · 0.70
read_byteMethod · 0.45

Tested by

no test coverage detected