Table of Contents

Class SimpleIOStream

Namespace
Gio
Assembly
Gio-2.0.dll
public class SimpleIOStream : IOStream, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SimpleIOStream
Implements
Inherited Members

Constructors

SimpleIOStream(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SimpleIOStream(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SimpleIOStream(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SimpleIOStream(CreationData data)

Parameters

data CreationData

SimpleIOStream(SimpleIOStreamHandle)

protected SimpleIOStream(SimpleIOStreamHandle handle)

Parameters

handle SimpleIOStreamHandle

Fields

InputStreamPropertyDefinition

public static readonly Property<InputStream?, SimpleIOStream> InputStreamPropertyDefinition

Field Value

Property<InputStream, SimpleIOStream>

OutputStreamPropertyDefinition

public static readonly Property<OutputStream?, SimpleIOStream> OutputStreamPropertyDefinition

Field Value

Property<OutputStream, SimpleIOStream>

Properties

InputStream

public InputStream? InputStream { get; }

Property Value

InputStream

OutputStream

public OutputStream? OutputStream { get; }

Property Value

OutputStream

Methods

GetGType()

public static Type GetGType()

Returns

Type

New(InputStream, OutputStream)

[Version("2.44")]
public static SimpleIOStream New(InputStream inputStream, OutputStream outputStream)

Parameters

inputStream InputStream
outputStream OutputStream

Returns

SimpleIOStream

NewFromPointer(nint, bool)

Creates a new managed SimpleIOStream instance for a given pointer.

public static SimpleIOStream NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SimpleIOStream

NewWithProperties(ConstructArgument[])

Creates a new SimpleIOStream and sets the properties specified by the construct arguments.

public static SimpleIOStream NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SimpleIOStream