[#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. The precise definition of byte count is described in the "Byte Count" section of the component‐level documentation. == Synopsis Declared in `<ball_countingallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator/size_type.adoc[CountingAllocator::size_type] numBytesTotal() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#