2019-08-15 21:13:24 +03:00

8 lines
139 B
Objective-C

#import "Crc32.h"
#import <zlib.h>
uint32_t Crc32(const void *bytes, int length) {
return (uint32_t)crc32(0, bytes, (uInt)length);
}