Spaghetti Tom
Thursday, September 20, 2018
A simple modern way to cast an array of bytes to a string in C#.
byte[] bytes = goGetStuff();
string result = System.Text.Encoding.UTF8.GetString(bytes);
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment