diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-07-29 23:02:26 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-07-29 23:02:26 +0000 |
commit | 24d46e151326b1b159603442e74540bf87897a53 (patch) | |
tree | 581d72fe2bda347793dddd4457f06614636474b4 /src/tests/base64.cpp | |
parent | c2292209eb4ece185f555a5c7823726794fe34cc (diff) | |
download | libbu++-24d46e151326b1b159603442e74540bf87897a53.tar.gz libbu++-24d46e151326b1b159603442e74540bf87897a53.tar.bz2 libbu++-24d46e151326b1b159603442e74540bf87897a53.tar.xz libbu++-24d46e151326b1b159603442e74540bf87897a53.zip |
Base64, now more clever with fewer options.
Diffstat (limited to '')
-rw-r--r-- | src/tests/base64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/base64.cpp b/src/tests/base64.cpp index 4f2d68b..eaf6a16 100644 --- a/src/tests/base64.cpp +++ b/src/tests/base64.cpp | |||
@@ -13,7 +13,7 @@ int main( int argc, char *argv[] ) | |||
13 | argv++; | 13 | argv++; |
14 | Bu::File fIn( argv[0], Bu::File::Read ); | 14 | Bu::File fIn( argv[0], Bu::File::Read ); |
15 | Bu::File fOut( argv[1], Bu::File::WriteNew ); | 15 | Bu::File fOut( argv[1], Bu::File::WriteNew ); |
16 | Bu::Base64 bOut( fOut, Bu::Base64::Write ); | 16 | Bu::Base64 bOut( fOut ); |
17 | 17 | ||
18 | char buf[900]; | 18 | char buf[900]; |
19 | for(;;) | 19 | for(;;) |
@@ -29,7 +29,7 @@ int main( int argc, char *argv[] ) | |||
29 | argv++; | 29 | argv++; |
30 | Bu::File fIn( argv[0], Bu::File::Read ); | 30 | Bu::File fIn( argv[0], Bu::File::Read ); |
31 | Bu::File fOut( argv[1], Bu::File::WriteNew ); | 31 | Bu::File fOut( argv[1], Bu::File::WriteNew ); |
32 | Bu::Base64 bIn( fIn, Bu::Base64::Read ); | 32 | Bu::Base64 bIn( fIn ); |
33 | 33 | ||
34 | char buf[900]; | 34 | char buf[900]; |
35 | for(;;) | 35 | for(;;) |