This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
char* DumpHex2(const void* data, size_t size) { | |
const int symbolSize = 100; | |
char* buffer = calloc(10*size, sizeof(char)); | |
char* symbol = calloc(symbolSize, sizeof(char)); | |
char ascii[17]; | |
size_t i, j; | |
ascii[16] = '\0'; |