GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
base64.hpp File Reference

Encoder and stream using base64. More...

#include <array>
#include <vector>
#include <utility>
#include <cassert>
#include <algorithm>
#include <istream>
#include <gridformat/common/exceptions.hpp>
#include <gridformat/common/serialization.hpp>
#include <gridformat/common/istream_helper.hpp>
#include <gridformat/common/output_stream.hpp>
#include <gridformat/common/concepts.hpp>

Go to the source code of this file.

Classes

struct  GridFormat::Base64Decoder
 
struct  GridFormat::Base64EncoderOptions
 Options for formatted output of ranges with base64 encoding. More...
 
class  GridFormat::Base64Stream< OStream >
 Wrapper around a given stream to write output encoded with base64. More...
 
struct  GridFormat::Encoding::Base64
 Base64 encoder. More...
 

Functions

std::size_t GridFormat::Base64::decoded_size (std::size_t encoded_size)
 Return the number of decoded bytes for the given number of encoded bytes.
 
std::size_t GridFormat::Base64::encoded_size (std::size_t raw_size)
 Return the number of encoded bytes for the given number of raw bytes.
 

Variables

constexpr Base64 GridFormat::Encoding::base64
 Instance of the base64 encoder.