namespace Novacoin
{
- public class InteropException : Exception
- {
- public InteropException()
- {
- }
-
- public InteropException(string message)
- : base(message)
- {
- }
-
- public InteropException(string message, Exception inner)
- : base(message, inner)
- {
- }
- }
-
/// <summary>
/// Miscellaneous functions
/// </summary>
return bytes;
}
- public static string ToHex(IEnumerable<byte> bytes)
+ public static string ToHex(byte[] bytes)
{
var sb = new StringBuilder();
foreach (var b in bytes)