• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: looking for a crc code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking for a crc code


  • Subject: Re: looking for a crc code
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 16 Jun 2008 11:27:04 -0700


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, not Python.

import zlib
zlib.crc32("Wish things were this easy in Cocoa")

It _is_ that easy in Cocoa. You just have to add libz to your project and #include <zlib.h>. As three or four people have already described in greater detail.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >looking for a crc code (From: Angelo Chen <email@hidden>)
 >Re: looking for a crc code (From: Graham Cox <email@hidden>)
 >Re: looking for a crc code (From: Ilan Volow <email@hidden>)
 >Re: looking for a crc code (From: Jens Alfke <email@hidden>)
 >Re: looking for a crc code (From: Michael Vannorsdel <email@hidden>)
 >Re: looking for a crc code (From: Jason Coco <email@hidden>)
 >Re: looking for a crc code (From: Ilan Volow <email@hidden>)

  • Prev by Date: Re: How can an object know when another object has gone away?
  • Next by Date: FULLTIME Santa Monica COCOA gig.....
  • Previous by thread: Re: looking for a crc code
  • Next by thread: Re: looking for a crc code
  • Index(es):
    • Date
    • Thread