title: Convert uint8_t* to std::string in C++?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1673445/how-to-convert-byte-to-stdstring-in-c">How to Convert Byte* to std::string in C++?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm on an embedded device and try to receive a message.
  This message is given by a <code>const uint8_t* data</code> and its length <code>size_t len</code>.</p>
  
  <p>Now I need a <code>std::string</code> to output my data.</p>