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

Method AnyBytesWritten

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

* Check whether any bytes have been written. */

Source from the content-addressed store, hash-verified

75 * Check whether any bytes have been written.
76 */
77 [[nodiscard]] bool AnyBytesWritten() const noexcept { return !this->dest->empty(); }
78 /**
79 * Get number of already written bytes.
80 */

Callers 2

string_inplace.cppFile · 0.45
string_builder.cppFile · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected