K Keith Jul 8, 2003 #1 Is there a simple way to convert a string to a byte array with out having to iterate through the whole string?
Is there a simple way to convert a string to a byte array with out having to iterate through the whole string?
J Jon Skeet Jul 8, 2003 #3 Keith said: Is there a simple way to convert a string to a byte array with out having to iterate through the whole string? Click to expand... Use Encoding.GetBytes with an appropriate encoding. See http://www.pobox.com/~skeet/csharp/unicode.html for more information.
Keith said: Is there a simple way to convert a string to a byte array with out having to iterate through the whole string? Click to expand... Use Encoding.GetBytes with an appropriate encoding. See http://www.pobox.com/~skeet/csharp/unicode.html for more information.