Serialize arguments as a length‐prefixed vector into a stream.

Synopsis

Declared in <psbt.h>

template<
    typename Stream,
    typename... X>
void
SerializeToVector(
    Stream& s,
    X const&... args);

Description

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.

Parameters

Name

Description

s

The output stream.

args

The objects to serialize.

Created with MrDocs