20 #ifndef WINPR_UTILS_PRINT_H
21 #define WINPR_UTILS_PRINT_H
27 #include <winpr/winpr.h>
28 #include <winpr/wtypes.h>
29 #include <winpr/wlog.h>
31 #define WINPR_HEXDUMP_LINE_LENGTH 16
38 WINPR_API
void winpr_HexDump(
const char* tag, UINT32 lvl,
const void* data,
size_t length);
39 WINPR_API
void winpr_HexLogDump(wLog* log, UINT32 lvl,
const void* data,
size_t length);
40 WINPR_API
void winpr_CArrayDump(
const char* tag, UINT32 lvl,
const void* data,
size_t length,
43 WINPR_API
char* winpr_BinToHexString(
const BYTE* data,
size_t length, BOOL space);
44 WINPR_API
size_t winpr_BinToHexStringBuffer(
const BYTE* data,
size_t length,
char* dstStr,
45 size_t dstSize, BOOL space);
47 WINPR_API
size_t winpr_HexStringToBinBuffer(
const char* str,
size_t strLength, BYTE* data,