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