[#ToByteVector]
= ToByteVector
:mrdocs:

Copies the bytes of a container into a byte vector&period;

== Synopsis

Declared in `&lt;script&sol;script&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
std::vector&lt;unsigned char&gt;
ToByteVector(T const& in);
----

== Return Value

A vector holding the bytes of `in&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| Container whose elements are copied into the result&period;
|===


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