home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume1
/
8712
/
14
/
coder.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
C/C++ Source or Header
|
1990-07-13
|
258 b
|
9 lines
char header[] = "Decode the following with bdecode\n";
char codeset[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-";
#define ENCODE(c) codeset[c]
extern short crctab[];
#define CRC(crc, c) crc = (crc >> 8) ^ crctab[(crc^c) & 0xff]