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

Method Make

src/core/utils/WriteStream.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82/////////////////////////////////////////////////////////////////////////////////////////////////
83
84std::shared_ptr<MemoryWriteStream> MemoryWriteStream::Make() {
85 return std::shared_ptr<MemoryWriteStream>(new MemoryWriteStream());
86}
87
88bool MemoryWriteStream::write(const void* data, size_t size) {
89 const auto bytes = static_cast<const uint8_t*>(data);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected