GLib.IOChannel.ReadChars Method
Reads data from the channel.

Syntax

public IOStatus ReadChars (byte[] buf, out ulong bytes_read)

Parameters

buf
Buffer to store the read data.
bytes_read
Length of data read.

Returns

An operation status value.

Remarks

Method fills the buffer with as many complete utf8 characters as possible. Provided primarily for binary data reading in null encodings. Use IOChannel.ReadLine for text stream reading to strings.

Requirements

Namespace: GLib
Assembly: glib-sharp (in glib-sharp.dll)