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

Function arrayFromItem

kdevplatform/serialization/stringrepository.h:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105inline QByteArray arrayFromItem(const StringData* item)
106{
107 const unsigned short* textPos = ( unsigned short* )(item + 1);
108 return QByteArray(reinterpret_cast<const char*>(textPos), item->length);
109}
110}
111#endif

Callers

nothing calls this directly

Calls 1

QByteArrayClass · 0.50

Tested by

no test coverage detected