vendredi 4 juillet 2014

How do I put a Platform::String^ into a Windows::Storage::Streams::Buffer?


Vote count:

0





Platform::String^ m_json = L"{ \"Mode\": \"DeleteAllHumans\"}";


Later on I want to upload that string using the function:


IAsyncOperation UploadBlobAsync(Windows::Storage::Streams::IBuffer jsonBlob, unsigned int bufferSize);


I can't make use of Windows.Security.Cryptography.CryptographicBuffer either.



asked 34 secs ago






Aucun commentaire:

Enregistrer un commentaire