MCPcopy Create free account
hub / github.com/KDE/kdevelop / readArray

Method readArray

kdevplatform/serialization/itemrepository.h:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91 template<typename T>
92 void readArray(T** to, uint size)
93 {
94 Q_ASSERT(to);
95 static_assert(std::is_integral_v<T>);
96
97 *to = reinterpret_cast<T*>(m_data);
98 m_data += sizeof(T) * size;
99 }
100
101 char* current() const
102 {

Callers 1

initializeFromMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected