using UnityEngine;
using System.Collections;
using System.Collections.Generic;
List<byte> encodeChars=new List<byte>(64); string chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; for(int i=0;i<64;i++){ char[] sub=chars.ToCharArray(i,1); byte[] bytes=System.Text.Encoding.Unicode.GetBytes(sub); encodeChars.Add(bytes[0]); Debug.Log(encodeChars[i]); }