IOChannel.readChars
glib.types.IOStatus readChars(ref ubyte[] buf, out size_t bytesRead)Replacement for [glib.iochannel.IOChannel.read] with the new API.
Parameters
buf | a buffer to read data into |
bytesRead | The number of bytes read. This may be zero even on success if count < 6 and the channel's encoding is non-null. This indicates that the next UTF-8 character is too wide for the buffer. |
Returns
the status of the operation.
Throws
[IOChannelException]