(cls, f)
| 225 | |
| 226 | @classmethod |
| 227 | def stream_deserialize(cls, f): |
| 228 | nValue = struct.unpack(b"<q", ser_read(f,8))[0] |
| 229 | scriptPubKey = script.CScript(BytesSerializer.stream_deserialize(f)) |
| 230 | return cls(nValue, scriptPubKey) |
| 231 | |
| 232 | def stream_serialize(self, f): |
| 233 | f.write(struct.pack(b"<q", self.nValue)) |
nothing calls this directly
no test coverage detected