summaryrefslogtreecommitdiff
path: root/src/nullstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nullstream.cpp')
-rw-r--r--src/nullstream.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/nullstream.cpp b/src/nullstream.cpp
new file mode 100644
index 0000000..364b58a
--- /dev/null
+++ b/src/nullstream.cpp
@@ -0,0 +1,31 @@
1#include "bu/nullstream.h"
2
3Bu::NullStream::NullStream()
4{
5}
6
7Bu::NullStream::~NullStream()
8{
9}
10
11void Bu::NullStream::close();
12size_t Bu::NullStream::read( void *pBuf, size_t nBytes );
13Bu::FString Bu::NullStream::readLine();
14size_t Bu::NullStream::write( const void *pBuf, size_t nBytes );
15long Bu::NullStream::tell();
16void Bu::NullStream::seek( long offset );
17void Bu::NullStream::setPos( long pos );
18void Bu::NullStream::setPosEnd( long pos );
19bool Bu::NullStream::isEos();
20bool Bu::NullStream::isOpen();
21void Bu::NullStream::flush();
22bool Bu::NullStream::canRead();
23bool Bu::NullStream::canWrite();
24bool Bu::NullStream::isReadable();
25bool Bu::NullStream::isWritable();
26bool Bu::NullStream::isSeekable();
27bool Bu::NullStream::isBlocking();
28void Bu::NullStream::setBlocking( bool bBlocking=true );
29void Bu::NullStream::setSize( long iSize );
30
31