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

Method PutBuffer

src/core/string_builder.cpp:122–125  ·  view source on GitHub ↗

* Append buffer. */

Source from the content-addressed store, hash-verified

120 * Append buffer.
121 */
122void StringBuilder::PutBuffer(std::span<const char> str)
123{
124 this->dest->append(str.data(), str.size());
125}

Callers 5

PutUint8Method · 0.45
PutUint16LEMethod · 0.45
PutUint32LEMethod · 0.45
PutUint64LEMethod · 0.45
PutUtf8Method · 0.45

Calls 3

appendMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected