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
protected InputStream(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
protected InputStream(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Methods
public void ClearPending()
public bool Close(Cancellable? cancellable)
Parameters
cancellable
Cancellable
Returns
- bool
public bool CloseFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- bool
public static Type GetGType()
Returns
- Type
Returns
- bool
Returns
- bool
public long Read(Span<byte> buffer, Cancellable? cancellable)
Parameters
buffer
Span<byte>
cancellable
Cancellable
Returns
- long
public bool ReadAll(Span<byte> buffer, out nuint bytesRead, Cancellable? cancellable)
Parameters
buffer
Span<byte>
bytesRead
nuint
cancellable
Cancellable
Returns
- bool
[Version("2.44")]
public bool ReadAllFinish(AsyncResult result, out nuint bytesRead)
Parameters
result
AsyncResult
bytesRead
nuint
Returns
- bool
[Version("2.34")]
public Bytes ReadBytes(nuint count, Cancellable? cancellable)
Parameters
count
nuint
cancellable
Cancellable
Returns
- Bytes
[Version("2.34")]
public Bytes ReadBytesFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- Bytes
public long ReadFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- long
Returns
- bool
public long Skip(nuint count, Cancellable? cancellable)
Parameters
count
nuint
cancellable
Cancellable
Returns
- long
public long SkipFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- long