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

Method deserialize

bitcoin/core/serialize.py:175–178  ·  view source on GitHub ↗
(cls, buf)

Source from the content-addressed store, hash-verified

173
174 @classmethod
175 def deserialize(cls, buf):
176 if isinstance(buf, str) or isinstance(buf, bytes):
177 buf = BytesIO(buf)
178 return cls.stream_deserialize(buf)
179
180
181class VarIntSerializer(Serializer):

Callers 15

fundrawtransactionMethod · 0.45
getblockheaderMethod · 0.45
getblockMethod · 0.45
getrawtransactionMethod · 0.45
signrawtransactionMethod · 0.45
stream_deserializeMethod · 0.45
CoreMainParamsClass · 0.45
CoreTestNetParamsClass · 0.45
CoreSigNetParamsClass · 0.45
CoreRegTestParamsClass · 0.45
sign_compactMethod · 0.45

Calls 1

stream_deserializeMethod · 0.45