8 #include "wvistreamlist.h"
9 #include "wvencoderstream.h"
10 #include "wvbufbase.h"
20 to_encode.put(
"123",3);
23 if (enc->
encode(to_encode, encoded,
true,
true))
24 printf (
"This is the result: %s\n", (
char *) encoded.get(1));
36 to_decode.put(
"MTIz",4);
39 if (dec->
encode(to_decode, decoded,
true))
40 printf (
"This is the result: %s\n", (
char *) decoded.get(1));