[#UnserializeFromVector]
= UnserializeFromVector
:mrdocs:

Unserialize a length&hyphen;prefixed vector of objects from a stream&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Stream,
    typename&period;&period;&period; X&gt;
void
UnserializeFromVector(
    Stream& s,
    X&&&period;&period;&period; args);
----

== Description

The objects are read in the order provided, and the stated vector length is validated against the number of bytes consumed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The input stream&period;
| *args*
| The objects to populate, in serialized order&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
