From 10c557562e1d67c55314c212371ea9cb7f802863 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 19 Jan 2011 23:02:44 +0000 Subject: Started work adding more functions to stream, and changing to a new size type. --- src/stdstream.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/stdstream.h') diff --git a/src/stdstream.h b/src/stdstream.h index 4efeece..c500dfc 100644 --- a/src/stdstream.h +++ b/src/stdstream.h @@ -23,13 +23,13 @@ namespace Bu virtual ~StdStream(); virtual void close(); - virtual size_t read( void *pBuf, size_t nBytes ); - virtual size_t write( const void *pBuf, size_t nBytes ); + virtual size read( void *pBuf, size nBytes ); + virtual size write( const void *pBuf, size nBytes ); using Stream::write; - virtual long tell(); - virtual void seek( long offset ); - virtual void setPos( long pos ); - virtual void setPosEnd( long pos ); + virtual size tell(); + virtual void seek( size offset ); + virtual void setPos( size pos ); + virtual void setPosEnd( size pos ); virtual bool isEos(); virtual bool isOpen(); virtual void flush(); @@ -40,7 +40,7 @@ namespace Bu virtual bool isSeekable(); virtual bool isBlocking(); virtual void setBlocking( bool bBlocking=true ); - virtual void setSize( long iSize ); + virtual void setSize( size iSize ); }; } -- cgit v1.2.3