include/cinder/Base64.h File Reference

Go to the source code of this file.

Namespaces

namespace  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.
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.
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.
Buffer cinder::fromBase64 (const std::string &input)
 Converts Base64-encoded data input into unencoded data.
Buffer cinder::fromBase64 (const Buffer &input)
 Converts Base64-encoded data input into unencoded data.
Buffer cinder::fromBase64 (const void *input, size_t inputSize)
 Converts Base64-encoded data input into unencoded data.