Boost logo

Boost Users :

Subject: [Boost-users] CRC: Set checksum value
From: Chris Spencer (spencercw_at_[hidden])
Date: 2009-07-04 16:14:39


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am using the CRC library in my program and need some way to set the
value of the checksum. I.e.,

crc_32_type crc;
crc.set_value(somevalue);
crc.checksum() == somevalue;

Is this possible short of modifying the source? I can't see any way to
do it from the documentation.

Cheers, Chris.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpPuCsACgkQ6iqRtkAADZh4ZQCdGz9UWj9+9W/1SPw/jqPKCuyi
/QAAniLRlVhIqhsAwAHYMFLlyOSuzdbY
=ZLwZ
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net