Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
Base64.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Buffer.h"
#include <string>
Include dependency graph for Base64.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cinder
 

Functions

std::string cinder::toBase64 (const std::string &input, int charsPerLine=0)
 Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More...
 
std::string cinder::toBase64 (const Buffer &input, int charsPerLine=0)
 Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More...
 
std::string cinder::toBase64 (const void *input, size_t inputSize, int charsPerLine=0)
 Converts input of length inputSize into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More...
 
Buffer cinder::fromBase64 (const std::string &input)
 Converts Base64-encoded data input into unencoded data. More...
 
Buffer cinder::fromBase64 (const Buffer &input)
 Converts Base64-encoded data input into unencoded data. More...
 
Buffer cinder::fromBase64 (const void *input, size_t inputSize)
 Converts Base64-encoded data input into unencoded data. More...