get_crc_table — Generates tables for a byte-wise 32-bit CRC calculation based on the polynomial.
#include <zlib.h>
const uLongf * get_crc_table(void);
The get_crc_table() function shall return a pointer to the first of a set of tables used internally to calculate CRC-32 values (see crc32()).
Generate tables for a byte-wise 32-bit CRC calculation based on the polynomial: x32+x26+x23+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1
In a multi-threaded application, get_crc_table() should be called by one thread to initialize the tables before any other thread calls any libz function.
To generate tables for a byte-wise 32-bit CRC calculation based on the polynomial:
#include <stdio.h> |
None defined.
For additional information or queries on this page send feedback
© 2008 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |