19 #ifndef OSGDB_CONVERTBASE64_H
20 #define OSGDB_CONVERTBASE64_H 1
26 #include <osgDB/Export>
59 : _buffersize(buffersize_in)
62 int encode(
char value_in);
64 int encode(
const char* code_in,
const int length_in,
char* plaintext_out);
66 int encode_end(
char* plaintext_out);
68 void encode(std::istream& istream_in, std::ostream& ostream_in);
70 void encode(
const char* chars_in,
int length_in, std::string& code_out);
81 : _buffersize(buffersize_in)
84 int decode(
char value_in);
86 int decode(
const char* code_in,
const int length_in,
char* plaintext_out);
88 void decode(std::istream& istream_in, std::ostream& ostream_in);
92 char* decode(
const std::vector<std::string>& str_in, std::vector<unsigned int>& pos_out);
101 #endif // BASE64_DECODE_H
Base64decoder(int buffersize_in=BUFFERSIZE)
Base64encoder(int buffersize_in=BUFFERSIZE)