AriDEVParser.Util.Utilities.ByteArrayToHexString C# (CSharp) Method

ByteArrayToHexString() public static method

public static ByteArrayToHexString ( byte data ) : string
data byte
return string
        public static string ByteArrayToHexString(byte[] data)
        {
            var str = string.Empty;
            for (var i = 0; i < data.Length; ++i)
                str += data[i].ToString("X2", CultureInfo.InvariantCulture);

            return str;
        }