#include <iostreams.h>
Creates an OutputStreamInterface class to write bytes into streams.
公共成员函数 |
|
MAXON_METHOD Result < void > | Write (const Block < const Byte > &data) |
MAXON_METHOD Result < void > | Flush () |
私有成员函数 |
|
MAXON_INTERFACE ( OutputStreamInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.outputstream") |
|
private |
MAXON_METHOD Result <void> Write | ( | const Block < const Byte > & | data | ) |
Write bytes to the stream. 'bytes' is of type Int (not Int64) as 'buffer' can never hold more bytes on a 32-bit system.
[in] | data | 数据 that should be written to the stream. |
MAXON_METHOD Result <void> Flush | ( | ) |
Flushes the output stream and forces any buffered output bytes to be written.