Fix docs for uc_hex_decode

This commit is contained in:
Nils O. Selåsdal
2013-12-06 23:16:54 +01:00
parent 784dc1cecb
commit d26854a632
+1 -1
View File
@@ -29,7 +29,7 @@ char* uc_hex_encode(const uint8_t *in, size_t len, char *out);
* @param maxlen max length of @in to convert, * @param maxlen max length of @in to convert,
* conversion stops when either maxlen is reached, * conversion stops when either maxlen is reached,
* nul terminator of in is found or a non hex digit is found. * nul terminator of in is found or a non hex digit is found.
* @param out where to store result. Must hold at least maxlen/2 * @param out where to store result. Must hold at least maxlen/2 + 1
* @return returns one past the end of the converted data * @return returns one past the end of the converted data
*/ */
uint8_t* uc_hex_decode(const char *in, size_t maxlen,uint8_t *out); uint8_t* uc_hex_decode(const char *in, size_t maxlen,uint8_t *out);