C++ (Qt)QByteArray::append( QByteArray::fromRawData( ... ) )
C++ (Qt)qint64 iVal;QbyteArray ba;char* pBA = ba.data(); memset(pBA, &iVal, 8); // memset(pBA+seek, &iVal, 8);
C++ (Qt) quint64 b = 123456789; QByteArray ba; ba.append( reinterpret_cast< const char* >( &b ), sizeof( b ) ); b = *( reinterpret_cast< const quint64* >( ba.data() ) );
C++ (Qt)quint64 b = 123456789;QByteArray ba; ba.append( reinterpret_cast< const char* >( &b ), sizeof( b ) ); b = *( reinterpret_cast< const typeof (b)* >( ba.data() ) );