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

Method AnyBytesRead

src/core/string_consumer.hpp:79–79  ·  view source on GitHub ↗

* Check whether any bytes were already read. */

Source from the content-addressed store, hash-verified

77 * Check whether any bytes were already read.
78 */
79 [[nodiscard]] bool AnyBytesRead() const noexcept { return this->position > 0; }
80 /**
81 * Get number of already read bytes.
82 */

Callers 2

string_inplace.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected