Akamai.Utils.ExtensionMethods.ToByteArray C# (CSharp) 메소드

ToByteArray() 공개 정적인 메소드

Retrieve the byte array for a string in UTF8 encoding
public static ToByteArray ( this data ) : byte[]
data this the data string
리턴 byte[]
        public static byte[] ToByteArray(this string data)
        {
            return Encoding.UTF8.GetBytes(data);
        }