aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/iohash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/iohash.h b/zencore/include/zencore/iohash.h
index 14049e2b2..853076129 100644
--- a/zencore/include/zencore/iohash.h
+++ b/zencore/include/zencore/iohash.h
@@ -1,4 +1,5 @@
// Copyright Epic Games, Inc. All Rights Reserved.
+// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
@@ -12,6 +13,7 @@
namespace zen {
class StringBuilderBase;
+class CompositeBuffer;
/**
* Hash used for content addressable storage
@@ -41,6 +43,7 @@ struct IoHash
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 FromHexString(const char* string);
static IoHash FromHexString(const std::string_view string);
const char* ToHexString(char* outString /* 40 characters + NUL terminator */) const;