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

Method flush

src/core/utils/WriteStream.cpp:59–63  ·  view source on GitHub ↗

* Flushes the data in the buffer to the target storage. Note that the data is not guaranteed to * be immediately written to the storage device; it is only flushed to the system buffer. */

Source from the content-addressed store, hash-verified

57 * be immediately written to the storage device; it is only flushed to the system buffer.
58 */
59 void flush() override {
60 if (file) {
61 fflush(file);
62 }
63 }
64
65 private:
66 FILE* file = nullptr;

Callers 1

drawPictureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected