OutputStream.splice

Splices an input stream into an output stream.

Parameters

source InputStream

a GInputStream.

flags GOutputStreamSpliceFlags

a set of GOutputStreamSpliceFlags.

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

Return Value

Type: gssize

a gssize containing the size of the data spliced, or -1 if an error occurred.

Throws

GException on failure.

Meta