summaryrefslogtreecommitdiff
path: root/src/base64.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
committerMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
commitfbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (patch)
tree4631e5b990624694b3576b037500603abce7ab8a /src/base64.cpp
parent17ec138bb159df52fb07f2f3ba47816d58cc194e (diff)
downloadlibbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.gz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.bz2
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.xz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.zip
I switched the Bu::Stream::isEOS function to be named Bu::Stream::isEos, and
also made sure the copyright is at the top of all the files, it's been too long. Anyway, this may effect some code, but not much, and it's an easy enough fix.
Diffstat (limited to 'src/base64.cpp')
-rw-r--r--src/base64.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/base64.cpp b/src/base64.cpp
index be5fe8d..ccf9077 100644
--- a/src/base64.cpp
+++ b/src/base64.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/base64.h" 8#include "bu/base64.h"
2 9
3namespace Bu { subExceptionDef( Base64Exception ) } 10namespace Bu { subExceptionDef( Base64Exception ) }
@@ -109,7 +116,7 @@ size_t Bu::Base64::read( void *pBuf, size_t nBytes )
109 { 116 {
110 if( rNext.read( &buf[j], 1 ) == 0 ) 117 if( rNext.read( &buf[j], 1 ) == 0 )
111 { 118 {
112 if( rNext.isEOS() ) 119 if( rNext.isEos() )
113 { 120 {
114 iChars = 0; 121 iChars = 0;
115 bEosIn = true; 122 bEosIn = true;