[Version (since = "2.20")]
public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError, GLib.IOError;
[Version (since = "2.30")]
- public string? read_line_utf8 (out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ public string? read_line_utf8 (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (cname = "g_data_input_stream_read_line_async", finish_function = "g_data_input_stream_read_line_finish_utf8")]
- public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
+ public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError;
public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public class DataInputStream : GLib.BufferedInputStream {
[CCode (cname = "g_data_input_stream_read_line_async", finish_function = "g_data_input_stream_read_line_finish_utf8")]
- public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
+ public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_monitor_get_type ()")]
.read_* throws="GLib.IOError"
.read_line* nullable
.read_line_finish_utf8 skip
+ .read_line_utf8.length default=null
DataOutputStream
.put_* throws="GLib.IOError"
DBusAuthObserver.authorize_authenticated_peer virtual