|
From: Rik H. <ri...@kd...> - 1999-12-10 00:15:35
|
#if Frank V. Castellucci > Is our persistent data (the users application data I will assume) for > local storing? Exchange? Both? I can offer examples from real life: 1. KDE uses a protocol called DCOP for communication. This was designed as a replacement for using CORBA. Parameters are marshalled by streaming into a 'QByteArray'. Here endianness is important. 2. Recently I created a class which gave the same functionality as GDBM. Here again the data is streamed into a 'QByteArray'. This class is used for efficiently indexing a mailbox. -> I think persistent data must work on any byte-order. The advantage of being able to marshal parameters for schemes such as KDE's DCOP, plus the advantage of being able to read my mailbox indices on any machine are great. Cheers, Rik |