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

Method serialize

projects/Python/proto/protoex.py:2223–2227  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

2221
2222 # Serialize the struct value
2223 def serialize(self, value):
2224 fbe_begin = self.create_begin()
2225 self._model.set(value)
2226 fbe_full_size = self.create_end(fbe_begin)
2227 return fbe_full_size
2228
2229 # Deserialize the struct value
2230 def deserialize(self, value=None):

Callers 1

cloneMethod · 0.95

Calls 3

create_beginMethod · 0.95
create_endMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected