base64.h
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
//
// See accompanying file COPYING.TXT file for licensing details.
//
#ifndef CPPCMS_BASE64_H
#define CPPCMS_BASE64_H
#include <cppcms/defs.h>
#include <string>
#include <iosfwd>
namespace cppcms {
namespace b64url {
int CPPCMS_API encoded_size(size_t s);
int CPPCMS_API decoded_size(size_t s);
unsigned char CPPCMS_API *encode(unsigned char const *begin,unsigned char const *end,unsigned char *target);
void encode(unsigned char const *begin,unsigned char const *end,std::ostream &output);
unsigned char CPPCMS_API *decode(unsigned char const *begin,unsigned char const *end,unsigned char *target);
bool CPPCMS_API decode(std::string const &input,std::string &output);
std::string CPPCMS_API encode(std::string const &input);
}
}
#endif
cppcms::b64url::encode
unsigned char CPPCMS_API * encode(unsigned char const *begin, unsigned char const *end, unsigned char *target)
cppcms::b64url::encoded_size
int CPPCMS_API encoded_size(size_t s)
cppcms::b64url::decode
unsigned char CPPCMS_API * decode(unsigned char const *begin, unsigned char const *end, unsigned char *target)
cppcms::b64url::decoded_size
int CPPCMS_API decoded_size(size_t s)