Important: Please read the Qt Code of Conduct -

Data management

  • Hi
    I wrote a code to create QByteArray like this:

    QByteArray qbDatagram;
        for(int i = 8019; i >=0;i--)
            qbDatagram[i] =i;

    Then I want to put 10e7 (10 Million ) qbDatagram packet side by side, like below:

    for (int l=10000000; l>0,l--){
    varaiable or object or ... = + qbDatagram;

    But i don't know how ? and with which type of var or object or ... we can support to save huge data in it?
    QByteArray alone support 2GB capacity.

    [Duplicate of ~kshegunov]

Log in to reply