BaseNcoding.Base256.Decode C# (CSharp) Method

Decode() public method

public Decode ( string data ) : byte[]
data string
return byte[]
        public override byte[] Decode(string data)
        {
            unchecked
            {
                byte[] result = new byte[data.Length];

                for (int i = 0; i < data.Length; i++)
                    result[i] = (byte)InvAlphabet[data[i]];

                return result;
            }
        }