mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-18 17:29:45 +05:00
Code clean
This commit is contained in:
@@ -366,7 +366,7 @@ namespace ServiceLib.Common
|
||||
|
||||
public static bool IsBase64String(string plainText)
|
||||
{
|
||||
if(plainText.IsNullOrEmpty()) return false;
|
||||
if (plainText.IsNullOrEmpty()) return false;
|
||||
var buffer = new Span<byte>(new byte[plainText.Length]);
|
||||
return Convert.TryFromBase64String(plainText, buffer, out int _);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user