[webkit-help] Best way to construct WTF::Vector<uint8_t> from const char array of known size

Konstantin Tokarev annulen at yandex.ru
Mon Mar 14 12:45:22 PDT 2016


Hello,

I have cryptographic digest function which returns result in a form equivalent to const char* of known size.
Is there any way to construct WTF::Vector<uint8_t> from it without resorting to memcpy?

-- 
Regards,
Konstantin


More information about the webkit-help mailing list