IoStreamImpl
The IoStreamImpl type represents a native instance of the abstract IoStream class.
Constructors
Properties
Functions
Link copied to clipboard
Clears the pending flag on @stream.
Link copied to clipboard
Closes the stream, releasing resources related to it. This will also close the individual input and output streams, if they are not already closed.
Link copied to clipboard
open fun closeAsync(ioPriority: <Error class: unknown class>, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
Requests an asynchronous close of the stream, releasing resources related to it. When the operation is finished @callback will be called. You can then call g_io_stream_close_finish() to get the result of the operation.
Link copied to clipboard
Closes a stream.
Link copied to clipboard
Checks if a stream has pending actions.
Link copied to clipboard
Sets @stream to have actions pending. If the pending flag is already set or @stream is closed, it will return false and set
Link copied to clipboard
open fun spliceAsync(stream2: IoStream, flags: IoStreamSpliceFlags, ioPriority: <Error class: unknown class>, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
Asynchronously splice the output stream of @stream1 to the input stream of