-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase64.hxx
More file actions
27 lines (18 loc) · 688 Bytes
/
Copy pathbase64.hxx
File metadata and controls
27 lines (18 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef INCLUDED_BASE64_HXX
#define INCLUDED_BASE64_HXX
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/transform_width.hpp>
#include <string>
typedef boost::archive::iterators::transform_width <
boost::archive::iterators::binary_from_base64 <
std::string::iterator>,
8, 6>
base64decodingIterator;
typedef boost::archive::iterators::base64_from_binary <
boost::archive::iterators::transform_width <
std::string::iterator, 6, 8>>
base64encodingIterator;
#endif
/* vim:set tabstop=4 shiftwidth=4 fo=cqwan autoindent : */
/* makeprg=make\ -C\ ~/tmp/build-try-https */