diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 17:53:02 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 17:53:02 +0000 |
commit | ac5fb6be210b63fd7216541679f513dc97491ede (patch) | |
tree | acbc8a91933f9e200d51f9a58f4f7b05173611ab /src/base64.h | |
parent | 6070f3cb3fe44f17114fd58792055e9c91bd3576 (diff) | |
download | libbu++-ac5fb6be210b63fd7216541679f513dc97491ede.tar.gz libbu++-ac5fb6be210b63fd7216541679f513dc97491ede.tar.bz2 libbu++-ac5fb6be210b63fd7216541679f513dc97491ede.tar.xz libbu++-ac5fb6be210b63fd7216541679f513dc97491ede.zip |
Wow, Bu::Base64 had a bug about premature end of stream / not base64 data, now
it throws exceptions. It'll still try to process bad data for a while though.
Also, it turns out that Bu::File never reported EOS, now it does, appropriately.
I'm about to change Bu::Stream::isEOS to be Bu::Stream::isEos, this is your
warning.
Diffstat (limited to 'src/base64.h')
-rw-r--r-- | src/base64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base64.h b/src/base64.h index c7fb737..a00ed0e 100644 --- a/src/base64.h +++ b/src/base64.h | |||
@@ -2,9 +2,12 @@ | |||
2 | #define BU_BASE64_H | 2 | #define BU_BASE64_H |
3 | 3 | ||
4 | #include "bu/filter.h" | 4 | #include "bu/filter.h" |
5 | #include "bu/exceptionbase.h" | ||
5 | 6 | ||
6 | namespace Bu | 7 | namespace Bu |
7 | { | 8 | { |
9 | subExceptionDecl( Base64Exception ); | ||
10 | |||
8 | /** | 11 | /** |
9 | * | 12 | * |
10 | *@ingroup Streams | 13 | *@ingroup Streams |