Skip to content

Instantly share code, notes, and snippets.

Injae Kang abcinje

Block or report user

Report or block abcinje

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@abcinje
abcinje / ByteRepr.c
Last active Dec 11, 2017
code to print byte representation of data
View ByteRepr.c
#include <stdio.h>
typedef unsigned char * pointer;
void show_bytes(pointer start, size_t len)
{
size_t i;
for(i=0; i<len; i++)
printf("%p\t0x%.2x\n", start+i, start[i]);
putchar('\n');
You can’t perform that action at this time.