Use std::vector<unsigned char> instead.