Nebula
Nebula
hconv.c 文件参考
+ hconv.c 的引用(Include)关系图:

函数

int hex_to_bytes (char *from, char *to, int *pTo_length)
 Convert a buffer from ascii hex to bytes. 更多...
 
int bytes_to_hex (char *from, int from_length, char *to)
 Convert a buffer from bytes to ascii hex. 更多...
 

函数说明

int bytes_to_hex ( char *  from,
int  from_length,
char *  to 
)

Convert a buffer from bytes to ascii hex.

参数
frombytes string
from_lengthbytes string length
toascii hex string
返回
Return 1 if everything went OK.
int hex_to_bytes ( char *  from,
char *  to,
int *  pTo_length 
)

Convert a buffer from ascii hex to bytes.

参数
fromascii hex string
tobytes string
pTo_lengthSet pTo_length to the byte length of the result.
返回
eturn 1 if everything went OK.