Table of Contents

Class BufferedInputStream

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class BufferedInputStream
Inheritance
BufferedInputStream
Inherited Members

Methods

Fill(IntPtr, long, IntPtr, out ErrorOwnedHandle)

Calls native method g_buffered_input_stream_fill.

public static extern long Fill(IntPtr stream, long count, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

count long

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

long

Transfer ownership: None Nullable: False

FillAsync(IntPtr, long, int, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_buffered_input_stream_fill_async.

public static extern void FillAsync(IntPtr stream, long count, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

count long

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

FillFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_buffered_input_stream_fill_finish.

public static extern long FillFinish(IntPtr stream, IntPtr result, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

long

Transfer ownership: None Nullable: False

GetAvailable(IntPtr)

Calls native method g_buffered_input_stream_get_available.

public static extern nuint GetAvailable(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

GetBufferSize(IntPtr)

Calls native method g_buffered_input_stream_get_buffer_size.

public static extern nuint GetBufferSize(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_buffered_input_stream_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(IntPtr)

Calls native constructor g_buffered_input_stream_new.

public static extern IntPtr New(IntPtr baseStream)

Parameters

baseStream IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

NewSized(IntPtr, nuint)

Calls native constructor g_buffered_input_stream_new_sized.

public static extern IntPtr NewSized(IntPtr baseStream, nuint size)

Parameters

baseStream IntPtr

Transfer ownership: None Nullable: False

size nuint

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Peek(IntPtr, ref byte, nuint, nuint)

Calls native method g_buffered_input_stream_peek.

public static extern nuint Peek(IntPtr stream, ref byte buffer, nuint offset, nuint count)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

buffer byte

Transfer ownership: None Nullable: False

offset nuint

Transfer ownership: None Nullable: False

count nuint

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

PeekBuffer(IntPtr, out nuint)

Calls native method g_buffered_input_stream_peek_buffer.

public static extern byte[] PeekBuffer(IntPtr stream, out nuint count)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

count nuint

Transfer ownership: Full Nullable: False

Returns

byte[]

Transfer ownership: None Nullable: False

ReadByte(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_buffered_input_stream_read_byte.

public static extern int ReadByte(IntPtr stream, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

int

Transfer ownership: None Nullable: False

SetBufferSize(IntPtr, nuint)

Calls native method g_buffered_input_stream_set_buffer_size.

public static extern void SetBufferSize(IntPtr stream, nuint size)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

size nuint

Transfer ownership: None Nullable: False