32 virtual bool IsValid(
void)
const {
return true; }
uint64_t GetKey(void) const
QByteArray & GetDataReference(void)
virtual ~UDPPacket()=default
uint64_t m_key
Key used to ensure we avoid extra memory allocation in m_data QByteArray.
virtual bool IsValid(void) const
IsValid() must return true before any data access methods are called, other than GetDataReference() a...
UDPPacket(const UDPPacket &)=default
UDPPacket & operator=(const UDPPacket &)=default
QByteArray GetData(void) const