This commit is contained in:
Tyrrrz
2023-07-31 20:22:10 +03:00
parent d00ecf0c37
commit 1ba0057174
3 changed files with 28 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
using System.Text;
using System.Globalization;
using System.Text;
namespace DiscordChatExporter.Core.Utils.Extensions;
@@ -11,7 +12,7 @@ public static class BinaryExtensions
foreach (var b in data)
{
buffer.Append(
b.ToString(isUpperCase ? "X2" : "x2")
b.ToString(isUpperCase ? "X2" : "x2", CultureInfo.InvariantCulture)
);
}