maxon.OutputStreamInterface¶
Description¶
Creates an maxon.OutputStreamInterface
class to write bytes into streams.
Attributes¶
Methods Signature¶
|
Flushes the output stream and forces any buffered output bytes to be written. |
|
Write bytes to the stream. |
|
Flushes the output stream and forces any buffered output bytes to be written. |
|
Write bytes to the stream. |
Methods Definition¶
-
OutputStreamInterface.
Flush
()¶ Flushes the output stream and forces any buffered output bytes to be written.
-
OutputStreamInterface.
Write
(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.
- Parameters
data (
maxon.Data
) –maxon.Data
that should be written to the stream.
-
OutputStreamInterface.
flush
()¶ Flushes the output stream and forces any buffered output bytes to be written.
-
OutputStreamInterface.
write
(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.
- Parameters
data (
maxon.Data
) –maxon.Data
that should be written to the stream.