MCPcopy
hub / github.com/petertodd/python-bitcoinlib / stream_deserialize

Method stream_deserialize

bitcoin/net.py:179–183  ·  view source on GitHub ↗
(cls, f)

Source from the content-addressed store, hash-verified

177
178 @classmethod
179 def stream_deserialize(cls, f):
180 c = cls()
181 c.vchMsg = VarStringSerializer.stream_deserialize(f)
182 c.vchSig = VarStringSerializer.stream_deserialize(f)
183 return c
184
185 def stream_serialize(self, f):
186 VarStringSerializer.stream_serialize(self.vchMsg, f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected