Convert.FromBase64CharArray : Convert « System « C# / C Sharp by API






Convert.FromBase64CharArray

  
using System;
using System.Data;
using System.Text.RegularExpressions;
using System.Text;
class Class1{
        static void Main(string[] args){
            foreach (byte b in Base64DecodeString("AAAA"))
                Console.WriteLine(b);
         }
    public static byte[] Base64DecodeString(string inputStr) 
    {
      byte[] encodedByteArray = Convert.FromBase64CharArray(inputStr.ToCharArray(), 0, inputStr.Length);
      return (encodedByteArray);
    }   
}

   
    
  








Related examples in the same category

1.Convert.ChangeType
2.Convert.FromBase64String
3.Convert.ToBase64CharArray
4.Convert.ToBase64String
5.Convert.ToInt32
6.Convert.ToUInt32