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

Method serialize

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

Source from the content-addressed store, hash-verified

5668
5669 # Serialize the struct value
5670 def serialize(self, value):
5671 fbe_begin = self.create_begin()
5672 self._model.set(value)
5673 fbe_full_size = self.create_end(fbe_begin)
5674 return fbe_full_size
5675
5676 # Deserialize the struct value
5677 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