Definition at line 22 of file TestBase64Server.cpp.
◆ TestBase64()
Definition at line 25 of file TestBase64Server.cpp.
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.
◆ execute()
Execute the method. Subclasses must provide a definition for this method.
Implements XmlRpc::XmlRpcServerMethod.
Definition at line 27 of file TestBase64Server.cpp.
28 {
29 std::ifstream infile("pngnow.png", std::ios::binary);
30 if (infile.fail())
31 infile.open("../pngnow.png", std::ios::binary);
32 if (infile.fail())
33 result = "Could not open file pngnow.png";
34 else {
35
39 char c = infile.get();
40 if (infile.eof()) break;
42 }
43 std::cerr <<
"Read " <<
n <<
" bytes from pngnow.png\n";
44 }
45 }
std::vector< char > BinaryData
The documentation for this class was generated from the following file: