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

Method serialize

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

Source from the content-addressed store, hash-verified

1561
1562 # Serialize the struct value
1563 def serialize(self, value):
1564 fbe_begin = self.create_begin()
1565 self._model.set(value)
1566 fbe_full_size = self.create_end(fbe_begin)
1567 return fbe_full_size
1568
1569 # Deserialize the struct value
1570 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