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

Method stream_serialize

bitcoin/core/serialize.py:215–217  ·  view source on GitHub ↗
(cls, b, f)

Source from the content-addressed store, hash-verified

213 """Serialization of bytes instances"""
214 @classmethod
215 def stream_serialize(cls, b, f):
216 VarIntSerializer.stream_serialize(len(b), f)
217 f.write(b)
218
219 @classmethod
220 def stream_deserialize(cls, f):

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected