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

Method get

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

Source from the content-addressed store, hash-verified

196
197 # Get the value
198 def get(self):
199 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
200 return OrderType(), 0
201
202 return OrderType(self.read_byte(self.fbe_offset)), self.fbe_size
203
204 # Set the value
205 def set(self, value):

Callers

nothing calls this directly

Calls 2

OrderTypeClass · 0.70
read_byteMethod · 0.45

Tested by

no test coverage detected