You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/src/NzbDrone.Common/Extensions/Base64Extentions.cs

17 lines
371 B

using System;
namespace NzbDrone.Common.Extensions
{
public static class Base64Extentions
{
public static string ToBase64(this byte[] bytes)
{
return Convert.ToBase64String(bytes);
}
public static string ToBase64(this long input)
{
return BitConverter.GetBytes(input).ToBase64();
}
}
}