• 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: Ilan Volow <email@hidden>
  • Date: Sun, 15 Jun 2008 17:09:45 -0400
  • Domainkey-status: no signature

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 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 to do a search like this and turned up such a fruitless list of leads, I wouldn't be surprised in the least that they came to the list and asking for a personal recommendation of some hard-to-find Cocoa framework from experienced Cocoa programmers.

Yes, but what does CRC have to do with Cocoa? It's just a function that takes a pointer and a length and returns an int. It'd be trivial to use any C implementation in a Cocoa app, so there's no reason to restrict the search by adding "cocoa" as a keyword.

_______________________________________________

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

_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: looking for a crc code
      • From: Jens Alfke <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>)

  • Prev by Date: Re: Using a Core Data relationship binded to an NSTokenField
  • Next by Date: Re: NSMutableAttributedString's setBaseWritingDirection problem
  • Previous by thread: Re: looking for a crc code
  • Next by thread: Re: looking for a crc code
  • Index(es):
    • Date
    • Thread