MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / serialize

Method serialize

bitcoin/core/serialize.py:87–91  ·  view source on GitHub ↗

Serialize, returning bytes

(self, params={})

Source from the content-addressed store, hash-verified

85 raise NotImplementedError
86
87 def serialize(self, params={}):
88 """Serialize, returning bytes"""
89 f = BytesIO()
90 self.stream_serialize(f, **params)
91 return f.getvalue()
92
93 @classmethod
94 def deserialize(cls, buf, allow_padding=False, params={}):

Callers 3

GetHashMethod · 0.95
__eq__Method · 0.95
__hash__Method · 0.95

Calls 1

stream_serializeMethod · 0.95

Tested by

no test coverage detected