What is "std::vector<unsigned char> Data = example"?
<pre><code>std::vector&lt;unsigned char&gt; Data = example
</code></pre>

<p>I found this on the internet somewhere and I think it writes an array of bytes of unknown size to a given address but I'm not entirely sure. Can anyone explain what this does?</p>

<p>And if this doesn't do what I think it does can someone help me produce a C++ function that takes an address and bytes as arguments and writes them at that address ie:</p>

<pre><code>myfunction(0xaddress, {0x10, 0x11, 0x12}); // something like this
</code></pre>
