MCPcopy
hub / github.com/knownsec/pocsuite3 / decode

Method decode

pocsuite3/lib/helper/java/serialization.py:67–73  ·  view source on GitHub ↗
(self, io)

Source from the content-addressed store, hash-verified

65 self.contents = []
66
67 def decode(self, io):
68 while True:
69 content = decode_content(io, self.stream)
70 self.contents.append(content)
71 if content.__class__ is EndBlockData:
72 return self
73 return self
74
75 def encode(self):
76 if not self.contents:

Callers 2

decodeMethod · 0.95
decodeMethod · 0.95

Calls 1

decode_contentFunction · 0.85

Tested by

no test coverage detected