diff options
| author | Stefan Boberg <[email protected]> | 2021-09-23 13:40:10 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-23 13:40:10 +0200 |
| commit | 4842881e1b2924a1d5dcac7b7e6da6dcc7558456 (patch) | |
| tree | 16e91b9a1da92ca512ef9aa4947fa772ffada861 /zencore/include | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-4842881e1b2924a1d5dcac7b7e6da6dcc7558456.tar.xz zen-4842881e1b2924a1d5dcac7b7e6da6dcc7558456.zip | |
Added HashBuffer(IoBuffer&) overload with trivial (but inappropriate for the longer term) implementation
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/iobuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/iobuffer.h b/zencore/include/zencore/iobuffer.h index 517cc7b69..6ee40e468 100644 --- a/zencore/include/zencore/iobuffer.h +++ b/zencore/include/zencore/iobuffer.h @@ -9,6 +9,7 @@ namespace zen { +struct IoHash; struct IoBufferExtendedCore; enum class ZenContentType : uint8_t @@ -348,6 +349,8 @@ public: inline static IoBuffer MakeCloneFromMemory(const void* Ptr, size_t Sz) { return IoBuffer(IoBuffer::Clone, Ptr, Sz); } }; +IoHash HashBuffer(IoBuffer& Buffer); + void iobuffer_forcelink(); } // namespace zen |