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

Method get

projects/Python/proto/proto.py:355–359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

353
354 # Get the value
355 def get(self):
356 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
357 return State(), 0
358
359 return State(self.read_byte(self.fbe_offset)), self.fbe_size
360
361 # Set the value
362 def set(self, value):

Callers

nothing calls this directly

Calls 2

StateClass · 0.70
read_byteMethod · 0.45

Tested by

no test coverage detected