Aetheria/Assets/Scripts/ServerShared/NIH/RethinkDb.Driver/Utils/StringHelper.cs

15 lines
379 B
C#
Raw Normal View History

using System;
namespace RethinkDb.Driver.Utils
{
internal static class StringHelper
{
/// <summary>
/// Gets the hex representation of a byte[], in lower case.
/// </summary>
public static string GetHexString(byte[] bytes)
{
return BitConverter.ToString(bytes).Replace("-", "").ToLowerInvariant();
}
}
}