c656295e8e186c77de7c45a34aa5d0f85b1d7265 galt Thu Jan 11 18:13:39 2018 -0800 fixing description of hex function. diff --git src/inc/hex.h src/inc/hex.h index 8948b37..0d457c3 100644 --- src/inc/hex.h +++ src/inc/hex.h @@ -1,27 +1,27 @@ #ifndef HEX_H #define HEX_H char nibbleToHex(char n); /* convert nibble to hexidecimal character. 0 <= n <= 15. */ void byteToHex(unsigned char n, char *hex); /* convert byte to two hexidecimal characters. 0 <= n <= 255. */ char *byteToHexString(unsigned char n); /* convert byte to hexidecimal string. 0 <= n <= 255. */ void hexBinaryString(unsigned char *in, int inSize, char *out, int outSize); /* Convert possibly long binary string to hex string. * Out size needs to be at least 2x inSize+1 */ /* Reverse Functions */ char hexToNibble(char n); /* convert hexidecimal character to nibble. 0-9a-f. */ unsigned char hexToByte(char *hex); -/* convert byte to hexidecimal characters. 0 <= n <= 255. */ +/* convert hexidecimal characters to unsigned char. */ #endif /* HEX_H */