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

Method GetReadData

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

* Get already read data. */

Source from the content-addressed store, hash-verified

90 * Get already read data.
91 */
92 [[nodiscard]] std::string_view GetReadData() const noexcept { return this->src.substr(0, this->position); }
93 /**
94 * Get data left to read.
95 */

Callers 1

Calls 1

substrMethod · 0.80

Tested by

no test coverage detected