Returns the approximate number of bytes held by this cord.
Synopsis
Declared in <absl/strings/cord.h>
size_t
EstimatedMemoryUsage(CordMemoryAccounting accounting_method = CordMemoryAccounting::kTotal) const;
Description
See CordMemoryAccounting for more information on the accounting method.
Return Value
The approximate number of bytes held by the Cord.
Parameters
Name |
Description |
accounting_method |
The accounting mode used for the estimate. |
Created with MrDocs