On 15 Jun '08, at 2:09 PM, Ilan Volow wrote:
Python's zlib module has crc32
Thanks, but we've already had at least a dozen redundant answers to
this question. How many references to CRC32 implementations and zlib
do we need?
In any case I'm pretty sure the OP was looking for native code
On 15/06/2008, at 3:49 AM, Michael Hall wrote:
On Jun 14, 2008, at 10:25 AM, Jens Alfke wrote:
On 14 Jun '08, at 4:59 AM, Ilan Volow wrote:
No mention at all I can find (in the 20 seconds I scanned the
first two result pages) of any cocoa CRC implementations. If a
newbie were to do a sea
Python's zlib module has crc32
e.g.
import zlib
zlib.crc32("Wish things were this easy in Cocoa")
-- Ilan
On Jun 15, 2008, at 3:19 AM, Jason Coco wrote:
There is:
uLong crc32(uLong crc, const Bytef *buf, uInt len);
On Jun 14, 2008, at 20:04 , Michael Vannorsdel wrote:
I thought I saw a
I've got some old CRC code lying around.
Don't know if it's Intel/64bit clean though. Maybe someone want's to
check? :)
//
// NSData_CRC.h
//
// CRC algorithms for 16, 32 and 64 bit widths
//
// Put together by Arne Schween, Peter N. Lewis, Matthew Dillon and
Thomas Tempelmann
//
// Be aw
There is:
uLong crc32(uLong crc, const Bytef *buf, uInt len);
On Jun 14, 2008, at 20:04 , Michael Vannorsdel wrote:
I thought I saw a CRC32 implementation in zlib at one time.
On Jun 14, 2008, at 9:25 AM, Jens Alfke wrote:
On 14 Jun '08, at 4:59 AM, Ilan Volow wrote:
No mention at all I c
I thought I saw a CRC32 implementation in zlib at one time.
On Jun 14, 2008, at 9:25 AM, Jens Alfke wrote:
On 14 Jun '08, at 4:59 AM, Ilan Volow wrote:
No mention at all I can find (in the 20 seconds I scanned the first
two result pages) of any cocoa CRC implementations. If a newbie
were
On 14 jun 2008, at 19.49, Michael Hall wrote:
...snip
#import
# include
#include
int main(int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
unsigned long crc = crc32(0L, Z_NULL, 0);
char * test = "TEST";
crc = crc32(crc,test,
--- Andrew Farmer <[EMAIL PROTECTED]> wrote:
>
> Yep. There was recently a discussion of this on the
> list, actually.
>
Missed that, sorry.
> > fprintf(stdout,"crc=%i\n",crc);
>
> Note that this'll print out the CRC as a signed
> integer, which is
> almost certainly not what you want
On 14 Jun 08, at 10:49, Michael Hall wrote:
I googled up this one. Might of taken more than a minute I'm afraid.
Checksum, Please
http://yamacdev.blogspot.com/2006/12/checksum-please.html
It suggests zlib which should always be available, shouldn't it?
Yep. There was recently a discussion of t
On Jun 14, 2008, at 10:25 AM, Jens Alfke wrote:
On 14 Jun '08, at 4:59 AM, Ilan Volow wrote:
No mention at all I can find (in the 20 seconds I scanned the
first two result pages) of any cocoa CRC implementations. If a
newbie were to do a search like this and turned up such a
fruitless l
hi Angelo.
This is a trickier question than it sounds. The first thing is you
really have to understand is what you are after:
1) do you have an 8 bit, 16 bit or 32 bit CRC?
2) are you constrained to match someone else or is this just for your
comms?
3) are you going table driven (recom
On 14 Jun '08, at 4:59 AM, Ilan Volow wrote:
No mention at all I can find (in the 20 seconds I scanned the first
two result pages) of any cocoa CRC implementations. If a newbie were
to do a search like this and turned up such a fruitless list of
leads, I wouldn't be surprised in the least
http://www.google.com/search?num=50&hl=en&safe=off&client=safari&rls=en-us&q=crc+cocoa&btnG=Search
No mention at all I can find (in the 20 seconds I scanned the first
two result pages) of any cocoa CRC implementations. If a newbie were
to do a search like this and turned up such a fruitless l
No, but this was turned up on Google in about a third of a second:
http://www.programmersheaven.com/download/13761/download.aspx
Then, read this:
http://catb.org/~esr/faqs/smart-questions.html
hth,
Graham
On 14 Jun 2008, at 2:34 pm, Angelo Chen wrote:
Hi,
Is there a crc code that can be
Hi,
Is there a crc code that can be used directly in Objective-C? any tips? Thanks.
Angelo
Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.antispam.yahoo.com/ 了解更多相關資訊!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin req
15 matches
Mail list logo