[#BloombergLP-ball-CountingAllocator-numBytesTotal]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CountingAllocator.adoc[CountingAllocator]::numBytesTotal
:relfileprefix: ../../../
:mrdocs:

Return the byte count maintained by this counting allocator&period;

== Synopsis

Declared in `&lt;ball&lowbar;countingallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator/size_type.adoc[CountingAllocator::size&lowbar;type]
numBytesTotal() const;
----

== Description

The precise definition of byte count is described in the &quot;Byte Count&quot; section of the component&hyphen;level documentation&period;

== Return Value

current byte count maintained by this allocator


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