Class BufferedInputStream
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
IntPtrTransfer ownership: None Nullable: False
count
longTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
count
longTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
size
nuintTransfer 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
IntPtrTransfer ownership: None Nullable: False
buffer
byteTransfer ownership: None Nullable: False
offset
nuintTransfer ownership: None Nullable: False
count
nuintTransfer 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
IntPtrTransfer ownership: None Nullable: False
count
nuintTransfer 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
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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)