blob: 5e91efbab1069e22609bf0c9f629f929b2fce336 [file] [log] [blame]
Karthik Rajagopalan255bd812024-09-06 14:36:34 -07001#ifndef CPER_BASE64_H
2#define CPER_BASE64_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
Ed Tanousa7d2cdd2024-07-15 11:07:27 -07008#include "edk/BaseTypes.h"
9
10/**
11 * base64_decode
12 * Caller is responsible for freeing the returned buffer.
13 */
14UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len);
15
16/**
17 * base64_encode
18 * Caller is responsible for freeing the returned buffer.
19 */
20CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len);
Karthik Rajagopalan255bd812024-09-06 14:36:34 -070021
22#ifdef __cplusplus
23}
24#endif
25
26#endif