#include <base64_coder.hpp>
|
bool | encode_internal (std::istream &decoded, std::ostream &encoded) override |
|
bool | decode_internal (std::istream &encoded, std::ostream &decoded) override |
|
|
virtual | ~Encoder ()=default |
|
virtual bool | encode_string (const std::string &decoded, std::string &encoded) |
|
virtual bool | encode_file (const std::filesystem::path &decoded, const std::filesystem::path &encoded) |
|
virtual | ~Decoder ()=default |
|
bool | decode_string (const std::string &encoded, std::string &decoded) |
|
bool | decode_file (const std::filesystem::path &encoded, const std::filesystem::path &decoded) |
|
A Base64 encoder and decoder.
- Author
- Timothy Flynn (trfly.nosp@m.nn89.nosp@m.@pm.m.nosp@m.e)
- Version
- May 3, 2020
◆ decode_internal()
bool fly::coders::Base64Coder::decode_internal |
( |
std::istream & |
encoded, |
|
|
std::ostream & |
decoded |
|
) |
| |
|
overrideprotectedvirtual |
Base64 decode a stream.
- Parameters
-
encoded | Stream holding the contents to decode. |
decoded | Stream to store the decoded contents. |
- Returns
- True if the input stream was successfully decoded.
Implements fly::coders::Decoder.
◆ encode_internal()
bool fly::coders::Base64Coder::encode_internal |
( |
std::istream & |
decoded, |
|
|
std::ostream & |
encoded |
|
) |
| |
|
overrideprotectedvirtual |
Base64 encode a stream.
- Parameters
-
decoded | Stream holding the contents to encode. |
encoded | Stream to store the encoded contents. |
- Returns
- True if the input stream was successfully encoded.
Implements fly::coders::Encoder.
The documentation for this class was generated from the following files: