title: no suitable constructor exists to convert from "uint8_t *" to "std::vector<uint8_t, std::allocator<uint8_t>>"
body: <pre><code>no suitable constructor exists to convert from "uint8_t *" to "std::vector&lt;uint8_t, std::allocator&lt;uint8_t&gt;&gt;"
  </code></pre>
  
  <p>and the cast not working </p>
  
  <p>Edit:</p>
  
  <pre><code>const std::vector&lt;uint8_t&gt; Test (const std::vector&lt;uint8_t&gt; buffer) const;
  
  uint8_t* buffer="...";
  
  //so i can use Test() function
  Test(buffer);
  
  Error
  no suitable constructor exists to convert from "uint8_t *" to "std::vector&lt;uint8_t, std::allocator&lt;uint8_t&gt;&gt;"
  </code></pre>