#include "ascii.h"
Go to the source code of this file.
This function returns the binary value of an ascii digit.
Definition at line 39 of file ascii.c.
00040 { 00041 if (c>='a') return(c-('a'-0x0A)); 00042 if (c>='A') return(c-('A'-0x0A)); 00043 return(c-'0'); 00044 }
This function returns the ascii value of a quartet
Definition at line 54 of file ascii.c.
00055 { 00056 if (c>=0x0A) return (c+('A'-0x0A)); 00057 return (c+'0'); 00058 }