◆ flush()
virtual int flush |
( |
void |
| ) |
|
|
inlinevirtual |
Cause the current stream to dump its buffer to the medium.
- Returns
- 0 for success, less than 0 for error.
Implements OutStream.
◆ write()
virtual int write |
( |
const char * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inlinevirtual |
This is the main method of an output stream: the given buffer is put on the stream.
- Parameters
-
buffer | Byte buffer to write. |
size | Size of the byte buffer. |
- Returns
- Number of transferred bytes or less than 0 for an error.
Implements OutStream.
The documentation for this class was generated from the following file: