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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment