The asynchronous version of gio.data_input_stream.DataInputStream.readUpto. It is an error to have two outstanding calls to this function.
In contrast to gio.data_input_stream.DataInputStream.readUntil, this function does not consume the stop character. You have to use gio.data_input_stream.DataInputStream.readByteData to get it before calling gio.data_input_stream.DataInputStream.readUpto again.
Note that stop_chars may contain '\0' if stop_chars_len is specified.
When the operation is finished, callback will be called. You can then call gio.data_input_stream.DataInputStream.readUptoFinish to get the result of the operation.
characters to terminate the read
length of stop_chars. May be -1 if stop_chars is nul-terminated
the [I/O priority][io-priority] of the request
optional #GCancellable object, null to ignore
callback to call when the request is satisfied
The asynchronous version of gio.data_input_stream.DataInputStream.readUpto. It is an error to have two outstanding calls to this function.
In contrast to gio.data_input_stream.DataInputStream.readUntil, this function does not consume the stop character. You have to use gio.data_input_stream.DataInputStream.readByteData to get it before calling gio.data_input_stream.DataInputStream.readUpto again.
Note that stop_chars may contain '\0' if stop_chars_len is specified.
When the operation is finished, callback will be called. You can then call gio.data_input_stream.DataInputStream.readUptoFinish to get the result of the operation.