New: Delaying Blackhole imports while they're still being updated.

This commit is contained in:
Taloth Saldono
2016-02-14 17:55:32 +01:00
parent b99d82cccc
commit d4bc835b1c
14 changed files with 414 additions and 158 deletions

View File

@@ -100,5 +100,10 @@ namespace NzbDrone.Common.Extensions
.Select(x => Convert.ToByte(input.Substring(x, 2), 16))
.ToArray();
}
public static string ToHexString(this byte[] input)
{
return string.Concat(Array.ConvertAll(input, x => x.ToString("X2")));
}
}
}