Quote Originally Posted by Mikhail86 View Post
But can you explain why the whole size is 511? Perhaps it should be 249?
Again: we don't know what data you want to parse or how big it is.
Read it into a QByteArray and then you can access the single values with QByteArray::at()