[Implemented] CRC32Fingerprint() with start value

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
technicorn
Enthusiast
Enthusiast
Posts: 105
Joined: Wed Jan 18, 2006 7:40 pm
Location: Hamburg

[Implemented] CRC32Fingerprint() with start value

Post by technicorn »

To be able to use CRC32 on very large files, it would be good to be able
to use the result of the last CRC32 as a startvalue for the next procedure
call.

CRC32Fingerprint(Buffer, Length [, CRCStart])

So you could piecewise calculate the full CRC.

Greatings
technicorn
User avatar
luis
Addict
Addict
Posts: 3894
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: CRC32Fingerprint() with start value

Post by luis »

technicorn wrote: CRC32Fingerprint(Buffer, Length [, CRCStart])

So you could piecewise calculate the full CRC.
Yes, I second that. I was surprised to see it wasn't the case.
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: CRC32Fingerprint() with start value

Post by Little John »

luis wrote:
technicorn wrote: CRC32Fingerprint(Buffer, Length [, CRCStart])

So you could piecewise calculate the full CRC.
Yes, I second that. I was surprised to see it wasn't the case.
Exactly the same is true for me.

Regards, Little John
Post Reply