MCPcopy Create free account
hub / github.com/e2wugui/zeze / encode_collection

Method encode_collection

python/zeze/buffer.py:991–994  ·  view source on GitHub ↗
(self, c)

Source from the content-addressed store, hash-verified

989 return bb
990
991 def encode_collection(self, c):
992 self.write_uint(len(c))
993 for s in c:
994 s.encode(self)
995
996 def decode_collection(self, c, factory):
997 for i in range(0, self.read_uint()):

Callers

nothing calls this directly

Calls 2

write_uintMethod · 0.95
encodeMethod · 0.65

Tested by

no test coverage detected