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

Method get

projects/Python/proto/fbe.py:2053–2057  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2051
2052 # Get the value
2053 def get(self):
2054 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
2055 return 0, 0
2056
2057 return self.read_uint8(self.fbe_offset), self.fbe_size
2058
2059 # Set the value
2060 def set(self, value):

Callers

nothing calls this directly

Calls 1

read_uint8Method · 0.45

Tested by

no test coverage detected