streams: add DataStream::GetMemoryUsage

This commit is contained in:
laanwj committed 2024-11-04 18:46:40 +01:00
1 parent c3a6722f34
commit 047b5e2af1
2 files changed
+9

No files matched your search

+3
View File
@@ -277,6 +277,9 @@ public:
{
util::Xor(MakeWritableByteSpan(*this), MakeByteSpan(key));
}
/** Compute total memory usage of this object (own memory + any dynamic memory). */
size_t GetMemoryUsage() const noexcept;
};
template <typename IStream>