Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
Functions | Variables
odil::base64 Namespace Reference

Functions

template<typename TInputIterator , typename TOutputIterator >
void encode (TInputIterator begin, TInputIterator end, TOutputIterator destination)
 Encode a sequence of 8 bits data to Base64.
 
template<typename TInputIterator , typename TOutputIterator >
void decode (TInputIterator begin, TInputIterator end, TOutputIterator destination)
 Decode a sequence of 8 bits data from Base64.
 

Variables

std::string const symbols
 Dictionary of symbols for Base64.
 
std::string const reversed_symbols
 Mapping of ASCII characters to values of Base64 symbols.
 

Function Documentation

◆ decode()

template<typename TInputIterator , typename TOutputIterator >
void odil::base64::decode ( TInputIterator  begin,
TInputIterator  end,
TOutputIterator  destination 
)

Decode a sequence of 8 bits data from Base64.

◆ encode()

template<typename TInputIterator , typename TOutputIterator >
void odil::base64::encode ( TInputIterator  begin,
TInputIterator  end,
TOutputIterator  destination 
)

Encode a sequence of 8 bits data to Base64.

Variable Documentation

◆ reversed_symbols

std::string const odil::base64::reversed_symbols
extern

Mapping of ASCII characters to values of Base64 symbols.

◆ symbols

std::string const odil::base64::symbols
extern

Dictionary of symbols for Base64.