MCPcopy Create free account
hub / github.com/Tencent/tgfx / writeToStream

Method writeToStream

src/core/utils/WriteStream.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void MemoryWriteStream::writeToStream(const std::shared_ptr<MemoryWriteStream>& destStream) {
111 if (!destStream) {
112 return;
113 }
114 destStream->buffer.insert(destStream->buffer.end(), buffer.begin(), buffer.end());
115}
116
117bool MemoryWriteStream::prependToAndReset(const std::shared_ptr<MemoryWriteStream>& destStream) {
118 if (!destStream) {

Callers 1

EmitPathMethod · 0.80

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected