[#ParamsStream-02-2constructor-01]
= xref:ParamsStream-02.adoc[ParamsStream]::ParamsStream
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct a params stream wrapping a substream and a single parameter set&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ParamsStream-02/2constructor-0f.adoc[ParamsStream](
    SubStream&& substream,
    Params const& params);
----

[.small]#xref:ParamsStream-02/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Construct a nested params stream from a substream and several parameter sets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename NestedSubstream,
    typename Params1,
    typename Params2,
    typename&period;&period;&period; NestedParams&gt;
xref:ParamsStream-02/2constructor-0a.adoc[ParamsStream](
    NestedSubstream&& s,
    Params1 const& params1,
    Params2 const& params2,
    NestedParams const&&period;&period;&period; params);
----

[.small]#xref:ParamsStream-02/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *substream*
| The underlying stream to wrap&period;
| *params*
| The parameter set to attach&period;
| *s*
| The underlying stream to wrap&period;
| *params1*
| The outermost parameter set to attach&period;
| *params2*
| The next parameter set to attach&period;
|===


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