MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetBytesWritten

Method GetBytesWritten

src/core/string_builder.hpp:81–81  ·  view source on GitHub ↗

* Get number of already written bytes. */

Source from the content-addressed store, hash-verified

79 * Get number of already written bytes.
80 */
81 [[nodiscard]] size_type GetBytesWritten() const noexcept { return this->dest->size(); }
82 /**
83 * Get already written data.
84 */

Callers 4

StrMakeValidInPlaceFunction · 0.45
string_inplace.cppFile · 0.45
string_builder.cppFile · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected