rapidyaml  0.16.0
parseandemitYAML,anddoitfast
base64.cpp File Reference
#include "c4/base64.hpp"
#include "c4/error.hpp"
#include <stdint.h>
#include <string.h>
#include <type_traits>

Go to the source code of this file.

Namespaces

 c4
 
 c4::detail
 

Macros

#define C4_PREFER_BSWAP
 
#define s_   dectype(-1)
 

Enumerations

enum  : uint32_t
 
enum  : uint32_t
 

Functions

void c4::detail::base64_test_tables ()
 
bool c4::base64_valid (const char *encoded, size_t encoded_sz)
 check that the given buffer is a valid base64 encoding More...
 
size_t c4::base64_encode (char *encoded_, size_t encoded_sz, const void *data_, size_t data_sz)
 
bool c4::base64_decode (char const *encoded, size_t encoded_sz, void *data, size_t data_sz, size_t *data_sz_required)
 decode the base64 encoding in the given buffer. More...
 

Macro Definition Documentation

#define C4_PREFER_BSWAP

Definition at line 12 of file base64.cpp.

#define s_   dectype(-1)