#include <iostreams.h>
Creates an OutputStreamInterface class to write bytes into streams.
Public Member Functions | |
MAXON_METHOD Result< void > | Write (const Block< const Byte > &data) |
MAXON_METHOD Result< void > | Flush () |
Private Member Functions | |
MAXON_INTERFACE (OutputStreamInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.outputstream", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
|
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 | 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.