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;
    }
    

    qbDatagram(8019)+qbDatagram(8019)+..10M..+qbDatagram(8019)
    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 https://forum.qt.io/topic/79905/how-to-store-udp-packet-for-some-second-in-ram ~kshegunov]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.