How to efficiently decode XML encoded string from Span<char> #81328
-
Hi! I have a XML encoded string in var mystring = @"my string !@#$%^&*()_+|-=\';[]{},./<>?".AsSpan();
string result = global::System.Net.WebUtility.HtmlDecode(mystring.ToString());
return result; I would to get rid of Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
huoyaoyuan
Jan 30, 2023
Replies: 1 comment 3 replies
-
There isn't span related API for xml yet. Xml was not focused for optimization in these years. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
lsoft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn't span related API for xml yet. Xml was not focused for optimization in these years.