return bytes;
}
- public static string ToHex(IEnumerable<byte> bytes)
+ public static string ToHex(byte[] bytes)
{
var sb = new StringBuilder();
foreach (var b in bytes)
return sb.ToString();
}
- public static int GetTime()
+ public static uint GetTime()
{
- return (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
+ return (uint)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
}
}
}