Skip to content

MrEmpy/hexc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

「⚙️」Simple header for C language to encode and decode hex

Example:

Encode:

#include <stdio.h>
#include "hex.h"

int main() {
    char str[] = "test";
    printf("Hex Encoded: %s", hexenc(str));
}

Decode:

#include <stdio.h>
#include "hex.h"

int main() {
    char str[] = "74657374";
    printf("Hex Decoded: %s", hexdec(str));
}

About

「⚙️」Simple header for C language to encode and decode hex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages