8#ifndef BOTAN_BASE64_FILTER_H__
9#define BOTAN_BASE64_FILTER_H__
11#include <botan/filter.h>
21 std::string
name()
const {
return "Base64_Encoder"; }
28 void write(
const byte input[],
size_t length);
44 void encode_and_send(
const byte input[],
size_t length,
45 bool final_inputs =
false);
46 void do_output(
const byte output[],
size_t length);
48 const size_t line_length;
49 const bool trailing_newline;
51 size_t position, out_position;
60 std::string
name()
const {
return "Base64_Decoder"; }
67 void write(
const byte input[],
size_t length);
Base64_Decoder(Decoder_Checking checking=NONE)
Base64_Encoder(bool breaks=false, size_t length=72, bool t_n=false)