Base64Coder
class Base64StreamDecoder
Decode Base64-encoded data and write the decoded data to a stream.
constructor Base64StreamDecoder(std::ostream &stream, size_t line_length = 0, size_t indent = 0)
| Parameter | Description |
|---|---|
stream |
TYPE: |
line_length |
TYPE: |
indent |
TYPE: |
class Base64StreamEncoder
Encode data in Base64 and write it to a stream.
constructor Base64StreamEncoder(std::ostream &stream, size_t line_length = 0, size_t indent = 0)
| Parameter | Description |
|---|---|
stream |
TYPE: |
line_length |
TYPE: |
indent |
TYPE: |
method void end()
class Base64StringDecoder
Decode Base64-encoded data and collect the decoded data in a string.
constructor Base64StringDecoder()
method std::string end()
| Returns | Description |
|---|---|
std::string |
member engine{output}
member output
class Base64StringEncoder
Encode data in Base64 and collect the encoded data in a string.
constructor Base64StringEncoder()
method std::string end()
Finish the encoding process and return the encoded data.
| Returns | Description |
|---|---|
std::string |
The encoded data. |