python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is it possible that QFile::size() and QFile::readAll().size() differ for certain special files?
Seeing a weird crash due to read access violation. Here is the minimal code:
struct MyFile : QFile
{
...
string read ()
{
QByteArray content;
if(<something>)
content = QFile:...
iammilind
Votes: 0
Answers: 1
QByteArray to short Int array in QT C++
I am receiving a QByteArray from UDP Socket. The QByteArray is of 52 elements each containing values from 0 to 9 - A to F. Now, I want to convert this QByteArray into a short int array of 13 elements ...
Soham Patel
Votes: 0
Answers: 1
How does QIODevice::readLine(qint64 maxSize = 0) works?
The documentation of this method states:
QByteArray QIODevice::readLine(qint64 maxSize = 0)
This is an overloaded function.
Reads a line from the device, but no more than maxSize characters, and retu...
iammilind
Votes: 0
Answers: 1