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

Method get

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

Source from the content-addressed store, hash-verified

97
98 # Get the value
99 def get(self):
100 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
101 return OrderSide(), 0
102
103 return OrderSide(self.read_byte(self.fbe_offset)), self.fbe_size
104
105 # Set the value
106 def set(self, value):

Callers

nothing calls this directly

Calls 2

OrderSideClass · 0.70
read_byteMethod · 0.45

Tested by

no test coverage detected