summaryrefslogtreecommitdiff
path: root/core/io/base64.h
blob: 456ef1811b64192bc0e0ba86c273f7af7d4d51a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * File: base64.h
 * Description: Simple BASE64 conversion methods
 * Author: Ari Edelkind
 * License: Public Domain
 * Website: http://episec.com/people/edelkind/c.html
 */

#ifndef BASE64_H
#define BASE64_H

extern "C" {

uint32_t base64_encode (char* to, char* from, uint32_t len);
uint32_t base64_decode (char* to, char* from, uint32_t len);

};

#endif /* BASE64_H */