MCPcopy Create free account
hub / github.com/MyGUI/mygui / read

Method read

MyGUIEngine/src/MyGUI_DataStream.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 size_t DataStream::read(void* _buf, size_t _count)
51 {
52 if (mStream == nullptr)
53 return 0;
54 size_t count = std::min(size(), _count);
55 mStream->read((char*)_buf, count);
56 return count;
57 }
58
59} // namespace MyGUI

Calls 1

minFunction · 0.85

Tested by

no test coverage detected