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

Method verify

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

Source from the content-addressed store, hash-verified

895
896 # Check if the struct value is valid
897 def verify(self):
898 self._buffer.shift(self.fbe_offset)
899 fbe_result = self.verify_fields()
900 self._buffer.unshift(self.fbe_offset)
901 return fbe_result
902
903 # Check if the struct fields are valid
904 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