[#DataStream-GetMemoryUsage]
= xref:DataStream.adoc[DataStream]::GetMemoryUsage
:relfileprefix: ../
:mrdocs:

Compute total memory usage of this object (own memory &plus; any dynamic memory)&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
GetMemoryUsage() const noexcept;
----

== Return Value

The number of bytes used, including the object itself and its dynamic buffer&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
