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

Method GetBytesRead

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

* Get number of already read bytes. */

Source from the content-addressed store, hash-verified

81 * Get number of already read bytes.
82 */
83 [[nodiscard]] size_type GetBytesRead() const noexcept { return this->position; }
84
85 /**
86 * Get the original data, as passed to the constructor.

Callers 5

SQFileClass · 0.80
AnyBytesUnusedMethod · 0.80
GetBytesUnusedMethod · 0.80
string_inplace.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected