Return to Snippet

Revision: 6817
at June 17, 2008 10:35 by Anthony


Initial Code
public static byte[] ToByteArray(string str)
{
    System.Text.ASCIIEncoding  encoding = new System.Text.ASCIIEncoding();
    return encoding.GetBytes(str);
}

Initial URL

                                

Initial Description

                                

Initial Title
Convert String to Byte Array

Initial Tags
array, convert

Initial Language
C#