Table of Contents

Class InputStream

Namespace
Gio
Assembly
Gio-2.0.dll
public class InputStream : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
InputStream
Implements
Derived
Inherited Members

Constructors

InputStream(bool, params ConstructArgument[])

protected InputStream(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

InputStream(IntPtr, bool)

protected InputStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

ClearPending()

public void ClearPending()

Close(Cancellable?)

public bool Close(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

CloseFinish(AsyncResult)

public bool CloseFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

HasPending()

public bool HasPending()

Returns

bool

IsClosed()

public bool IsClosed()

Returns

bool

Read(Span<byte>, Cancellable?)

public long Read(Span<byte> buffer, Cancellable? cancellable)

Parameters

buffer Span<byte>
cancellable Cancellable

Returns

long

ReadAll(Span<byte>, out nuint, Cancellable?)

public bool ReadAll(Span<byte> buffer, out nuint bytesRead, Cancellable? cancellable)

Parameters

buffer Span<byte>
bytesRead nuint
cancellable Cancellable

Returns

bool

ReadAllFinish(AsyncResult, out nuint)

[Version("2.44")]
public bool ReadAllFinish(AsyncResult result, out nuint bytesRead)

Parameters

result AsyncResult
bytesRead nuint

Returns

bool

ReadBytes(nuint, Cancellable?)

[Version("2.34")]
public Bytes ReadBytes(nuint count, Cancellable? cancellable)

Parameters

count nuint
cancellable Cancellable

Returns

Bytes

ReadBytesFinish(AsyncResult)

[Version("2.34")]
public Bytes ReadBytesFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Bytes

ReadFinish(AsyncResult)

public long ReadFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

long

SetPending()

public bool SetPending()

Returns

bool

Skip(nuint, Cancellable?)

public long Skip(nuint count, Cancellable? cancellable)

Parameters

count nuint
cancellable Cancellable

Returns

long

SkipFinish(AsyncResult)

public long SkipFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

long