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

Method stream_serialize

bitcoin/core/serialize.py:268–272  ·  view source on GitHub ↗
(cls, ints, f)

Source from the content-addressed store, hash-verified

266
267 @classmethod
268 def stream_serialize(cls, ints, f):
269 l = len(ints)
270 VarIntSerializer.stream_serialize(l, f)
271 for i in ints:
272 f.write(struct.pack(b"<i", i))
273
274 @classmethod
275 def stream_deserialize(cls, f):

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected