Created
October 10, 2016 16:01
-
-
Save AndyNovo/acb497c5ff4be137bb7041a415508fed to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void show_chunk_hex(void* start, size_t bytes){ | |
int i=0; | |
for(;i<bytes;i+=1){ | |
printf("%02x", *((unsigned char*) (start+i))); | |
} | |
printf("\n"); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment