Both std::string and std::vector<T> have constructors initializing the object to be empty. You could use std::vector<unsigned char>() but I’d remove the initializer.
Both std::string and std::vector<T> have constructors initializing the object to be empty. You could use std::vector<unsigned char>() but I’d remove the initializer.