29 extern FXAPI
const FXuint crctab[256];
54 static inline FXuint CRC(FXuint crc,FXuchar byte){
56 return crctab[(crc^byte)&0xff] ^ (crc>>8);
61 static inline FXuint CRC(FXuint crc,FXushort x){
62 union{ FXushort s; FXuchar b[2]; } z={x};
63 #if FOX_BIGENDIAN == 1 75 static inline FXuint CRC(FXuint crc,FXuint x){
76 union{ FXuint i; FXuchar b[4]; } z={x};
77 #if FOX_BIGENDIAN == 1 93 static inline FXuint CRC(FXuint crc,FXulong x){
94 union{ FXulong l; FXuchar b[8]; } z={x};
95 #if FOX_BIGENDIAN == 1 119 static inline FXuint CRC(FXuint crc,
const FXuchar *buf,FXival len){
120 const FXuchar* end=buf+len;
Definition: FX4Splitter.h:28