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

Method get

projects/Python/proto/protoex.py:205–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203
204 # Get the value
205 def get(self):
206 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
207 return OrderType(), 0
208
209 return OrderType(self.read_byte(self.fbe_offset)), self.fbe_size
210
211 # Set the value
212 def set(self, value):

Callers

nothing calls this directly

Calls 2

OrderTypeClass · 0.70
read_byteMethod · 0.45

Tested by

no test coverage detected