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

Method decode

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

Source from the content-addressed store, hash-verified

384 self.class_description = None
385
386 def decode(self, io):
387 class_desc = ClassDesc(self.stream)
388 self.class_description = class_desc.decode(io)
389 if self.stream:
390 self.stream.add_reference(self)
391 return self
392
393 def encode(self):
394 if self.class_description.__class__ != ClassDesc:

Callers 1

decode_contentFunction · 0.95

Calls 3

decodeMethod · 0.95
ClassDescClass · 0.85
add_referenceMethod · 0.80

Tested by

no test coverage detected