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

Method serialize

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

Source from the content-addressed store, hash-verified

8012
8013 # Serialize the struct value
8014 def serialize(self, value):
8015 fbe_begin = self.create_begin()
8016 self._model.set(value)
8017 fbe_full_size = self.create_end(fbe_begin)
8018 return fbe_full_size
8019
8020 # Deserialize the struct value
8021 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