[fpc-pascal] old school crc32

wkitty42 at windstream.net wkitty42 at windstream.net
Sun Jul 24 21:33:24 CEST 2016


On 07/24/2016 05:12 AM, Giuliano Colla wrote:
> What I'd do in your place would be to forget about strings, and use just an
> array of bytes.

that's why i'm using a pchar, starting at var[0] and length(var)-1 ;)

> This way you're sure that you don't have in the way the string length value
> and some automatic encoding conversion, which messes up things.

i can easily see how those would get in the way... in this case, there's none of 
that fancyschmancy stuff being done ;)


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-pascal mailing list