Serialize arguments as a length-prefixed vector into a stream.
Declared in <psbt.h>
template<
typename Stream,
typename... X>
void
SerializeToVector(
Stream& s,
X const&... args);
The arguments are serialized as if first written into a vector and then into the stream: the output is the total serialized length of all objects followed by the concatenated objects.
| Name | Description |
|---|---|
| s | The output stream. |
| args | The objects to serialize. |