b85edc2f33f9958930fc36dc3f9ba154b6b631b1
kent
  Mon Feb 1 17:24:03 2021 -0800
Adding unpackHexString function to library.

diff --git src/inc/hex.h src/inc/hex.h
index 0d457c3..1a520db 100644
--- src/inc/hex.h
+++ src/inc/hex.h
@@ -11,17 +11,20 @@
 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 hexidecimal characters to unsigned char. */
 
+int unpackHexString(char *hexString, struct lineFile *lf, int maxLen);
+/* Convert hexideximal string up to maxLen digits long to binary value */
+
 #endif /* HEX_H */