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

Method verify

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

Source from the content-addressed store, hash-verified

6119
6120 # Check if the struct value is valid
6121 def verify(self):
6122 self._buffer.shift(self.fbe_offset)
6123 fbe_result = self.verify_fields()
6124 self._buffer.unshift(self.fbe_offset)
6125 return fbe_result
6126
6127 # Check if the struct fields are valid
6128 def verify_fields(self):

Callers

nothing calls this directly

Calls 3

verify_fieldsMethod · 0.95
shiftMethod · 0.45
unshiftMethod · 0.45

Tested by

no test coverage detected