FBB::IBase64Stream(3bobcat) | Base64 encoding/decoding std::istream | FBB::IBase64Stream(3bobcat) |
FBB::IBase64Stream - Std::istream performing base64 encoding and decoding
#include <bobcat/ibase64stream>
Linking option: -lbobcat
FBB::IBase64Stream objects may be used to base64 encode or decrypt information that is available on a separate std::istream.
The class IBase64Stream is a class template, using a FBB::CryptType template non-type parameter. Objects of the class FBB::IBase64Stream<FBB::ENCRYPT> base64 encode the information they receive, objects of the class FBB::IBase64Stream<FBB::DECRYPT> base64 decode the information they receive.
FBB
All constructors, members, operators and manipulators, mentioned in this
man-page, are defined in the namespace FBB.
FBB::IBase64Buf (private),
std::istream
Copy and move constructors (and assignment operators) are not available.
Since the class uses public derivation from std::istream, all members of this class can be used.
#include "../ibase64stream" #include <iostream> using namespace std; using namespace FBB; int main() {
IBase64Stream<ENCRYPT> in(cin); }
bobcat/ibase64stream - defines the class interface
None Reported.
Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.
This is free software, distributed under the terms of the GNU General Public License (GPL).
Frank B. Brokken (f.b.brokken@rug.nl).
2005-2020 | libbobcat-dev_5.07.00 |