Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ GetLeftData
Method
GetLeftData
src/core/string_consumer.hpp:96–96 ·
view source on GitHub ↗
* Get data left to read. */
Source
from the content-addressed store, hash-verified
94
* Get data left to read.
95
*/
96
[[nodiscard]] std::string_view GetLeftData() const noexcept { return this->src.substr(this->position); }
97
98
/**
99
* Discard all remaining data.
Callers
4
GetDriverParam
Function · 0.80
LoadFromDisk
Method · 0.80
OnReceiveData
Method · 0.80
string_consumer.cpp
File · 0.80
Calls
1
substr
Method · 0.80
Tested by
no test coverage detected