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

Method get

projects/Python/proto/test.py:310–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308
309 # Get the value
310 def get(self):
311 if (self._buffer.offset + self.fbe_offset + self.fbe_size) > self._buffer.size:
312 return EnumEmpty(), 0
313
314 return EnumEmpty(self.read_int32(self.fbe_offset)), self.fbe_size
315
316 # Set the value
317 def set(self, value):

Callers

nothing calls this directly

Calls 2

EnumEmptyClass · 0.70
read_int32Method · 0.45

Tested by

no test coverage detected