Catrobat.IDE.Core.Utilities.UtilTokenHelper.ToHex C# (CSharp) Méthode

ToHex() public static méthode

public static ToHex ( byte array ) : string
array byte
Résultat string
        public static string ToHex(byte[] array)
        {
            var hex = new StringBuilder(array.Length * 2);
            foreach (byte b in array)
            {
                hex.AppendFormat("{0:x2}", b);
            }
            return hex.ToString();
        }