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