MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / QByteArrayView

Method QByteArrayView

src/ByteArrayUtils.h:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29{
30public:
31 QByteArrayView() : m_data(nullptr), m_size(0) {}
32 QByteArrayView(const char* data, qsizetype size) : m_data(data), m_size(size) {}
33 QByteArrayView(const QByteArray& ba) : m_data(ba.constData()), m_size(ba.size()) {}
34 const char* data() const { return m_data; }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected