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

Method serialize

projects/Python/proto/test.py:14662–14666  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

14660
14661 # Serialize the struct value
14662 def serialize(self, value):
14663 fbe_begin = self.create_begin()
14664 self._model.set(value)
14665 fbe_full_size = self.create_end(fbe_begin)
14666 return fbe_full_size
14667
14668 # Deserialize the struct value
14669 def deserialize(self, value=None):

Callers 2

cloneMethod · 0.95

Calls 3

create_beginMethod · 0.95
create_endMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected