Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created October 10, 2016 16:01
Show Gist options
  • Save AndyNovo/acb497c5ff4be137bb7041a415508fed to your computer and use it in GitHub Desktop.
Save AndyNovo/acb497c5ff4be137bb7041a415508fed to your computer and use it in GitHub Desktop.
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