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

Method serialize

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

Source from the content-addressed store, hash-verified

12628
12629 # Serialize the struct value
12630 def serialize(self, value):
12631 fbe_begin = self.create_begin()
12632 self._model.set(value)
12633 fbe_full_size = self.create_end(fbe_begin)
12634 return fbe_full_size
12635
12636 # Deserialize the struct value
12637 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