#include <GStream.h>
Public Member Functions | |
int | Read (void *Ptr, int Size, int Flags=0) |
Read bytes out of the stream. | |
int | Write (const void *Ptr, int Size, int Flags=0) |
Write bytes to the stream. | |
virtual int | Print (const char *Format,...) |
Formats a string and then writes it. |
int GStream::Read | ( | void * | Buffer, | |
int | Size, | |||
int | Flags = 0 | |||
) | [inline, virtual] |
Read bytes out of the stream.
Implements GStreamI.
Reimplemented in GBytePipe, GFile, GMemStream, and GSocket.
Referenced by GTarParser::Process(), GdcBmp::ReadImage(), and GProcess::Run().
int GStream::Write | ( | const void * | Buffer, | |
int | Size, | |||
int | Flags = 0 | |||
) | [inline, virtual] |
Write bytes to the stream.
Implements GStreamI.
Reimplemented in GBytePipe, GFile, GMemStream, and GSocket.
Referenced by Print(), GBytePipe::Push(), GProcess::Run(), and GdcBmp::WriteImage().