MLIB
Loading...
Searching...
No Matches
base64.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#if __has_include("defs.h")
9
#include "defs.h"
10
#endif
11
12
#include <string>
13
14
namespace
mlib {
15
16
size_t
base64dec
(
const
char
* in,
void
* out);
17
size_t
base64enc
(
const
void
* in,
char
* out,
size_t
ilen);
18
19
std::string
base64enc
(
const
std::string& in);
20
std::string
base64dec
(
const
std::string& in);
21
22
};
// namespace mlib
mlib::base64enc
size_t base64enc(const void *in, char *out, size_t ilen)
Encode input bytes to Base64 producing a null-terminated string.
Definition
base64.cpp:125
mlib::base64dec
size_t base64dec(const char *in, void *out)
Decode a Base64 string.
Definition
base64.cpp:31
include
mlib
base64.h
Generated on Tue Dec 31 2024 21:35:13 for MLIB by
1.13.0