int HexdumpA(char *s,uchar *code,int n);
int HexdumpW(wchar_t *s,uchar *code,int n);
Dumps binary code to ASCII (HexdumpA) or UNICODE (HexdumpW) null-terminated string in hexadecimal uppercase format. Returns length of resulting text, not including terminal zero.
Parameters:
s
(out)
String that receives text. It must be at least 2n+1 characters long
code
(in)
Binary string of length n bytes that will be dumped
n
(in)
Lengrh of code, bytes
Return values:
Length of resulting text, not including the terminal null
Example:
|
See also:
HexprintA(), HexprintW(), Hexprint4A(),
Hexprint4W(),
Hexprint8A(),
Hexprint8W(),
SignedhexA(),
SignedhexW()