perf: nuget update (#32)

[skip ci]

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2025-03-06 09:54:33 +08:00
committed by GitHub
parent d4a92aca6f
commit fa84cc315b
7 changed files with 13 additions and 11 deletions

View File

@ -36,6 +36,8 @@ public static class IntExtensions
/// </summary>
public static string ToIpV4(this int me)
{
return string.Join(".", BitConverter.GetBytes(me).Reverse());
var bytes = BitConverter.GetBytes(me);
Array.Reverse(bytes);
return string.Join('.', bytes);
}
}