fork download
  1. using System;
  2. using System.Text;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. string[] p = new string [] {"ADEANg=="};
  9. byte[] bytes = Convert.FromBase64String(p[0]);
  10.  
  11. foreach (byte b in bytes)
  12. {
  13. Console.WriteLine((int)b + ": " + (char)b);
  14. }
  15.  
  16. string result = Encoding.BigEndianUnicode.GetString(bytes);
  17. Console.WriteLine(result);
  18. }
  19. }
Success #stdin #stdout 0.03s 33856KB
stdin
Standard input is empty
stdout
0: 
49: 1
0: 
54: 6
16