[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: qdatastream with checksum
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-05-23 21:01:46
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic