aboutsummaryrefslogtreecommitdiff
path: root/hex.h
blob: 2195415f1a4d339d95c2cdef4f9af17576b58f55 (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef HEX_H
#define HEX_H

#include <stddef.h>

int hex_encode(const void *buf, char *hex, size_t buflen, size_t hexlen);
int hex_decode(const char *hex, void *buf, size_t n);

#endif /* HEX_H */