In file istream.hxx:

namespace vos class IStream

Interface for a stream of data, on that you can read and write blocks of bytes

Inheritance:


Public Methods

virtual Boolean isEof ()
Checks if stream is closed for further reading
virtual long read (void* pBuffer, long n)
Retrieve n bytes from the stream and copy them into pBuffer
virtual long write (const void* pBuffer, long n)
Write n bytes from pBuffer to the stream

Documentation

Interface for a stream of data, on that you can read and write blocks of bytes
virtual long read(void* pBuffer, long n)
Retrieve n bytes from the stream and copy them into pBuffer
Returns:
the number of read bytes
Parameters:
pBuffer - receives the read data.
n - the number of bytes to read. pBuffer must be large enough to hold the n bytes!

virtual long write(const void* pBuffer, long n)
Write n bytes from pBuffer to the stream
Returns:
the number of written bytes
Parameters:
pBuffer - contains the data to be written.
n - the number of bytes to write.

virtual Boolean isEof()
Checks if stream is closed for further reading
Returns:
True is stream has ended (e.g. was closed).


Direct child classes:
OStreamSocket
IPositionableStream

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de