diff --git a/GameFrameX.Foundation.Hash/XxHashHelper.cs b/GameFrameX.Foundation.Hash/XxHashHelper.cs index 74761c6..9912cab 100644 --- a/GameFrameX.Foundation.Hash/XxHashHelper.cs +++ b/GameFrameX.Foundation.Hash/XxHashHelper.cs @@ -355,7 +355,7 @@ private static unsafe uint Hash32(byte* input, int length, uint seed = 0) /// Directly operates on memory pointers for optimal performance. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - private static unsafe ulong Hash64(byte* input, int length, uint seed = 0) + private static unsafe ulong Hash64Core(byte* input, int length, uint seed = 0) { unchecked { @@ -555,7 +555,7 @@ public static ulong Hash64(byte[] buffer) { fixed (byte* pointer = buffer) { - return Hash64(pointer, length); + return Hash64Core(pointer, length); } } }