streams: add DataStream::GetMemoryUsage
This commit is contained in:
1 parent
c3a6722f34
commit
047b5e2af1
2 files changed
+9
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user