XML data is just formatted text, and a "blob" is normally just binary data, so the conversion is pretty simple

C Sharp > XML data is just formatted text, and a "blob" is normally just binary data, so the conversion is pretty simple
10.10.2019 14:28:49


Наиболее часто встречающиеся слова в статье:

[Encoding] [GetBytes] [reverse] [GetString]


Статья:

string s = ...
byte[] bytes = System.Text.Encoding.UTF8.GetBytes(s);

And to reverse it:

byte[] bytes = ...
string s = System.Text.Encoding.UTF8.GetString(bytes);