ec_hex_encode — encodes bytes into ASCII hex characters
int **ec_hex_encode** ( | src, | |
| | src_len, | |
| | dest, | |
| | dest_len
); | |
const char * <var class="pdparam">src</var>;
size_t <var class="pdparam">src_len</var>;
char * <var class="pdparam">dest</var>;
size_t <var class="pdparam">dest_len</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
encodes bytes into ASCII hex characters
Reads src_len bytes starting at src and writes src_len * 2 bytes of ASCII hex characters starting at dest. The high-order nibble is written first.
0 if dest_len is too small to hold the entire encoding, or the number of ASCII hex characters written.