Amido.Common.Extensions.StringExtensions.ToByteArray C# (CSharp) Method

ToByteArray() public static method

public static ToByteArray ( this text ) : byte[]
text this
return byte[]
        public static byte[] ToByteArray(this string text)
        {
            return System.Text.Encoding.Default.GetBytes(text);
        }