aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-02 13:06:18 +0200
committerStefan Boberg <[email protected]>2021-09-02 13:06:18 +0200
commita57d4a96f8b9323da96d264e9e4cbbab988e1cf3 (patch)
tree02da88ceb7b5f42a6ec9b478ed4e61d9f790157d /zencore/include
parentInitial implementation of CbPackage HTTP response writing (diff)
downloadzen-a57d4a96f8b9323da96d264e9e4cbbab988e1cf3.tar.xz
zen-a57d4a96f8b9323da96d264e9e4cbbab988e1cf3.zip
IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 code
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/iohash.h6
1 files changed, 3 insertions, 3 deletions
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;