From 7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 05:30:43 +0000 Subject: Wow, got the Stream changes propegated, all tests build with string instead of fstring, and updated the copyright notice to extend to 2011 --- src/membuf.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/membuf.cpp') diff --git a/src/membuf.cpp b/src/membuf.cpp index 2dc266f..14d0d58 100644 --- a/src/membuf.cpp +++ b/src/membuf.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Xagasoft, All rights reserved. + * Copyright (C) 2007-2011 Xagasoft, All rights reserved. * * This file is part of the libbu++ library and is released under the * terms of the license contained in the file LICENSE. @@ -149,6 +149,21 @@ void Bu::MemBuf::setSize( size iSize ) nPos = iSize; } +Bu::size Bu::MemBuf::getSize() const +{ + return sBuf.getSize(); +} + +Bu::size Bu::MemBuf::getBlockSize() const +{ + return sBuf.getSize(); +} + +Bu::String Bu::MemBuf::getLocation() const +{ + return ""; +} + Bu::String &Bu::MemBuf::getString() { return sBuf; -- cgit v1.2.3