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

Method AnyBytesLeft

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

* Check whether any bytes left to read. */

Source from the content-addressed store, hash-verified

68 * Check whether any bytes left to read.
69 */
70 [[nodiscard]] bool AnyBytesLeft() const noexcept { return this->position < this->src.size(); }
71 /**
72 * Get number of bytes left to read.
73 */

Callers 15

LookupManyOfManyFunction · 0.80
ParseIntListFunction · 0.80
ParseValueMethod · 0.80
ParseResolutionFunction · 0.80
GetKeyboardLayoutFunction · 0.80
GetDriverParamFunction · 0.80
ReplaceParamMethod · 0.80
DecodeEncodedStringFunction · 0.80
FormatStringFunction · 0.80
LoadFromDiskMethod · 0.80
FillSetDetailsMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected