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

Method stream_serialize

bitcoin/core/serialize.py:286–289  ·  view source on GitHub ↗
(cls, s, f)

Source from the content-addressed store, hash-verified

284 """Serialize variable length byte strings"""
285 @classmethod
286 def stream_serialize(cls, s, f):
287 l = len(s)
288 VarIntSerializer.stream_serialize(l, f)
289 f.write(s)
290
291 @classmethod
292 def stream_deserialize(cls, f):

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected