[#ActionSerialize-SerWrite]
= xref:ActionSerialize.adoc[ActionSerialize]::SerWrite
:relfileprefix: ../
:mrdocs:

Invoke the write callback during serialization&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Stream,
    typename Type,
    typename Fn&gt;
static
void
SerWrite(
    Stream& s,
    Type&& obj,
    Fn&& fn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The output stream&period;
| *obj*
| The object the write action targets&period;
| *fn*
| The write callback to invoke&period;
|===


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