MegaApi.Crypto.a32_to_str C# (CSharp) Method

a32_to_str() public static method

public static a32_to_str ( uint a ) : byte[]
a uint
return byte[]
        public static byte[] a32_to_str(uint[] a)
        {
            List<byte> str = new List<byte>(a.Length / 4);

            for (var i = 0; i < a.Length * 4; i++)
            {
                str.Add((byte)((a[i >> 2] >> (24 - (i & 3) * 8)) & 255));
            }

            return str.ToArray();
        }