The data format required to save games on google play game services is : std::vector<uint8_t>
as specified under 'Data formats' on:
https://developers.google.com/games/services/cpp/savedgames
I am assuming the vector represents some kind of byte array. Is that correct ? So how does one convert an std::string
to std::vector<uint8_t>
?