J
J
just_asker2020-12-20 16:18:25
Qt
just_asker, 2020-12-20 16:18:25

How can I flip bits in qt if I have an array of uint8_t?

I receive data from QUdpSocket to the buffer, there is a need to flip the bits that came in, how can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ighor July, 2020-12-20
@just_asker

qFromBigEndian
qFromLittleEndian
qToBigEndian
qToLittleEndian
https://doc.qt.io/qt-5/qtendian.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question