From a57d4a96f8b9323da96d264e9e4cbbab988e1cf3 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Thu, 2 Sep 2021 13:06:18 +0200 Subject: IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 code --- zencore/include/zencore/iohash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zencore/include') diff --git a/zencore/include/zencore/iohash.h b/zencore/include/zencore/iohash.h index 853076129..475bfe447 100644 --- a/zencore/include/zencore/iohash.h +++ b/zencore/include/zencore/iohash.h @@ -41,9 +41,9 @@ struct IoHash return Io; } - static IoHash HashMemory(const void* data, size_t byteCount); - static IoHash HashMemory(MemoryView Data) { return HashMemory(Data.GetData(), Data.GetSize()); } - static IoHash HashMemory(const CompositeBuffer& Buffer); + static IoHash HashBuffer(const void* data, size_t byteCount); + static IoHash HashBuffer(MemoryView Data) { return HashBuffer(Data.GetData(), Data.GetSize()); } + static IoHash HashBuffer(const CompositeBuffer& Buffer); static IoHash FromHexString(const char* string); static IoHash FromHexString(const std::string_view string); const char* ToHexString(char* outString /* 40 characters + NUL terminator */) const; -- cgit v1.2.3