| 35 | qsizetype size() const { return m_size; } |
| 36 | bool isEmpty() const { return m_size == 0; } |
| 37 | bool operator==(const QByteArrayView& other) const |
| 38 | { |
| 39 | return m_size == other.m_size && (m_data == other.m_data || (m_size > 0 && std::memcmp(m_data, other.m_data, m_size) == 0)); |
| 40 | } |
| 41 | bool operator!=(const QByteArrayView& other) const { return !(*this == other); } |
| 42 | |
| 43 | private: |
nothing calls this directly
no outgoing calls
no test coverage detected