Is there a standard C ++ class similar to QByteArray?

Is there a C ++ STL class that works like a QByteArray ?

+4
source share
2 answers
std::string 

or

 std::vector<unsigned char> 
+8
source

Full replacement, no. Depending on what you use it for, std :: vector may be good enough as a replacement.

+2
source

Source: https://habr.com/ru/post/1314132/


All Articles