On Fri, Aug 12, 2011 at 10:37 AM, RLScott <[email protected]> wrote: > I needed to duplicate the Android CRC32 exactly in a separate desktop > C application, but the code that I found on-line did not exactly agree > with the Android version. So I did some trial and error tests and > developed the following C code which does agree with the Android CRC32 > (assuming a 32-bit unsigned int in the desktop application): >
Well, good for you :) Fortunately, Android is (mostly) open source, so there is no need for trial and error. CRC32.java actually uses zlib's implementation of CRC, so you can just use zlib in your desktop app. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

