Refactoring Project

This commit is contained in:
2dust
2024-08-20 14:15:29 +08:00
parent 61bea05f63
commit 8d1d10b783
53 changed files with 278 additions and 249 deletions
+1
View File
@@ -366,6 +366,7 @@ namespace ServiceLib.Common
public static bool IsBase64String(string plainText)
{
if(plainText.IsNullOrEmpty()) return false;
var buffer = new Span<byte>(new byte[plainText.Length]);
return Convert.TryFromBase64String(plainText, buffer, out int _);
}