blob: 5e91efbab1069e22609bf0c9f629f929b2fce336 [file] [log] [blame]
#ifndef CPER_BASE64_H
#define CPER_BASE64_H
#ifdef __cplusplus
extern "C" {
#endif
#include "edk/BaseTypes.h"
/**
* base64_decode
* Caller is responsible for freeing the returned buffer.
*/
UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len);
/**
* base64_encode
* Caller is responsible for freeing the returned buffer.
*/
CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len);
#ifdef __cplusplus
}
#endif
#endif