On Wednesday 23 May 2001 06:25, Simon Hausmann wrote: > What I'm thinking of in detail is a KCheckSumByteArray (TODO: find better > name :) , which inherits from QByteArray and adds a checksum property > (like we could use a simple CRC32) when being marshalled into a QDataStream > (and does so likewise when reading from a QDataStream, including a check > of the checksum and setting a isValid() boolean property appropriately) . > > (I volunteer to implement this, just in case) > > What do you think? Do you want to use KCheckSumByteArray as source for the QDataStream or do you want to feed KCheckSumByteArray into the datastream? I think you need the first. Cheers, Waldo -- bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com